|
|
|
|
|
by adamwathan
2560 days ago
|
|
Borders still affect the positioning of things even with box-sizing set to border-box. For example, here "Block 1" is still two pixels taller than "Block 2": <div style="padding: 8px; border: 1px solid black">
Block 1
</div> <div style="padding: 8px;">
Block 2
</div> https://jsfiddle.net/t4rkvfzx/ |
|