Paul Irish personal blog
* { box-sizing: border-box } FTW
One of my least favorite parts about layout with CSS is the relationship of width and padding. You’re busy defining widths to match your grid or general column proportions, then down the line you start to add in text, which necessitates defining padding for those boxes. And ‘lo and behold, you now are subtracting…
- Points
- 348
- HN comments
- 85
- Submissions
- 1
- Cited by
- 13 commenters
Web & FrontendSoftware Engineering2012
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Feb 16, 2012 | * { box-sizing: border-box } FTW by tambourine_man | 348 | 85 |
Cited in comments
Linked from 14 Hacker News comments by 13 different people, from May 2012 to Nov 2025.
Most recent:
- zinekeller · Nov 10, 2025
- alwillis · Apr 26, 2023
- franciscop · Nov 8, 2018
- 4lun · Jun 16, 2017
- alwillis · Aug 26, 2015
- Already__Taken · Mar 18, 2015