|
|
|
|
|
by do_not_redeem
458 days ago
|
|
That does not solve the problem in the article. Consider this layout: <content1> <content2> <content3> If you start out with equally spaced columns, and then you add borders to content2 and content3 to end up with this visually: <content1> <border> <content2> <border> <content3> The DOM actually looks like this: <content1> <border content2> <border content3> Now content2 and content3 are smaller than content1, because the borders are part of their width. Borders are the wrong tool for this job no matter the value of box-sizing. |
|
That’s sarcasm, obviously. But man, I’ve spent so many hours over the years hacking little lines between HTML boxes.