stylus / nib

Stylus mixins, utilities, components, and gradient image generation
http://stylus.github.io/nib
MIT License
1.91k stars 249 forks source link

How about box-sizing border-box? #233

Closed danwdart closed 10 years ago

danwdart commented 10 years ago

It's in all my resets I've used recently, so might be a great idea to include by default (or as option)?

notslang commented 10 years ago

Err... that seems like a pretty extreme change to set everything to box-sizing: border-box. What resets are you using?

danwdart commented 10 years ago

My usual resets are:

html, body { height:100%; padding: 0 !important; margin: 0 !important; }

buschtoens commented 10 years ago

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:

notslang commented 10 years ago

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
danwdart commented 10 years ago

Fair enough. That'll be in mine anyhow.