I have a grey border for my projects, and its width is 2px. I want to make it 5px, and orange when hover to it.
And here is the setting for each project
And in big screen, other elements doesn’t move, but the size of selected element is still changed. When in this size - col-xs-12 , it still moves the other elements.
After more research, I made it working by using the outline instead of border.
But I still want to know what margin: -1px does in this case, and why margin: -1px doesn’t work in small screen.
I would want to adjust it so the margin exactly compensates for the change in border. The border is increasing by 3px so I would want the margin to exactly decrease by 3px: