8
Serious question - does anyone else's CSS art break when you forget to set box-sizing?
Spent 2 hours last night trying to figure out why my geometric bird was all misaligned. Turned out I didn't add box-sizing: border-box to the parent container. Now I put it at the top of every project and it saves me so much headache. Anyone else get wrecked by this one simple thing?
2 comments
Log in to join the discussion
Log In2 Comments
josephf1013d ago
Woke up at 3am realizing I forgot box-sizing on a project.
6
the_gray13d ago
You ever have a friend who texts you at like 2am going "dude... I just spent 3 hours rebuilding my whole nav bar and it was just box-sizing"? That was my buddy Mark last week. He was so mad he almost threw his laptop.
6