Closed andering closed 8 years ago
This 1 pixel is an artefact of "CSS Box model" ( you using border 1px ) and unfortunately GSS dose not account for that problem.
Add this to your CSS
*, *:before, *:after {
-moz-box-sizing: border-box;
box-sizing: border-box;
}
And everything would be just fine :)
Hello, this is simple example of navigation bar, but i can't figure out why i'm getting extra 1px in (nav)[width], it has connection with border: 1px which is set in css to each (nav a) element. Codepen: http://codepen.io/andering/pen/dYMBVm , you can see the horizontal bar at the bottom, shouldn't be there.
Thank you for kick. Just started journey with GSS.