3 ms·
...and they still haven't moved to "sanity" by adding/supporting: * { box-sizing: border-box; } the line that I start all my CSS with nowadays. Quote fro
by nnq 13y ago
...and they still haven't moved to "sanity" by adding/supporting:
* { box-sizing: border-box; }
the line that I start all my CSS with nowadays.
Quote from their docs:
> Some third party software, including Google Maps and Google Custom Search Engine, conflict with Bootstrap due to * { box-sizing: border-box; }, a rule which makes it so padding does not affect the final computed width of an element.
- deleted 13y ago[deleted]
- cmicali 13y agoThey switched to border-box in 3.0. Note in 3.0 release notes: http://blog.getbootstrap.com/2013/08/19/bootstrap-3-released/ http://blog.getbootstrap.com/2013/08/19/bootstrap-3-released... Code at top of scaffolding.less: https://github.com/twbs/bootstrap/blob/master/less/scaffolding.less https://github.com/twbs/bootstrap/blob/master/less/scaffoldi...
- mdo 13y agoNot sure why you'd think that—we've had it the last five months, since v3 dropped.
- tranche 13y agoWhen Bootstrap 3.0 was released one of the top comments on HN was a hallelujah for adding/supporting this very feature.