@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/
@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/