Joined June 2012
·

Nikola Šantić

Infinum
·
Croatia
·

Posted to Bye Bye CSS Box Model... over 1 year ago

@davsket The * selector is expensive in combination with other selectors, but having just * is same as having any other single selector. Think of it this way - when calculating rules for adding styles, the browser considers a * rule as just another rule to be added to each element it renders - no additional computation is needed. More here: http://www.paulirish.com/2012/box-sizing-border-box-ftw/

Achievements
1 Karma
0 Total ProTip Views