News for hackers. Stuff that matters.
Re:CSS arrow please by scizo on Wednesday May 09, 2012 @12:50PM (#3949401)
You might also want to consider explicitly setting the box-sizing to content-box. I know that is the default, but if someone attempted to use this and had already adjusted the box-sizing to something else it would not work.
Re:CSS arrow please by esrauch on Wednesday May 09, 2012 @07:12PM (#3950985)
There are dozens of rules someone could already have on the page that would break it, why make a special case for box-sizing?
Re:CSS arrow please by Skalman on Thursday May 10, 2012 @04:06AM (#3952363)
Because it's not unheard of to set * { box-sizing: border-box; }. In the same way, you shouldn't assume margin, padding or font-size to be anything in particular.