News for hackers. Stuff that matters.
Re:Some HTML, CSS and ES2015 Best Practices by benjamindc on Wednesday February 25, 2015 @05:02AM (#9106073)
I guess I should clarify this example. I’m mostly fine with a global * { box-sizing: border-box; }, I’m only opposed to changing the box model randomly. The example illustrates a bad usage where changing the box model to get a full-width element is fundamentally wrong (since it’s the default behavior of block elements anyway).
Re:Some HTML, CSS and ES2015 Best Practices by tomelders on Wednesday February 25, 2015 @05:04AM (#9106077)
Oh, in that case I vehemently agree