Hacker News new | past | comments | ask | show | jobs | submit login

> Having the width include the border because that is how a physical box works has to be one of the all time stupid design decisions of all time.

...no? If I want two side by side divs, I could give them width: 50%. But with regular box-sizing, if I apply a border to those boxes they'll stack vertically. That's pretty dumb.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: