Closed danwdart closed 10 years ago
Err... that seems like a pretty extreme change to set everything to box-sizing: border-box
. What resets are you using?
My usual resets are:
html, body { height:100%; padding: 0 !important; margin: 0 !important; }
I've been working with bootstrap for some time now, and I gotta say, that the border-box has extreme advantages over the default one.
However, this should be still up to the user. Everyone learns CSS the default way. Without very visibly denoting it somewhere, this change will introduce a lot of confusion and frustration.
Sent from an iPhone, so please excuse shitty spelling.
On Sat, Nov 30, 2013 at 4:02 PM, Dan Dart notifications@github.com wrote:
My usual resets are:
{ padding:0; margin: 0; box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizingL border-box; } html, body { height:100%; padding: 0 !important; margin: 0 !important; }
Reply to this email directly or view it on GitHub: https://github.com/visionmedia/nib/issues/233#issuecomment-29553797
Well, imma close this for now. Reopen if you wanna continue the discussion, but as @silvinci said, it could introduce a lot of confusion and frustration. It could be a setting, but it would do so little it's hardly worth including. It would just be:
*
box-sizing: border-box
Fair enough. That'll be in mine anyhow.
It's in all my resets I've used recently, so might be a great idea to include by default (or as option)?