Open jlong opened 7 years ago
The universal *
selector is considered to affect performance negatively (although Paul Irish says this is false).
Still, it's a common scare for most developers so they may not be comfortable using that.
@VPenkov Agree.
@VPenkov Please read: http://blogs.telerik.com/kendoui/posts/12-09-28/css_tip_star_selector_not_that_bad
@jlong I don't claim it's bad (and I even quoted Paul Irish). Just explaining why other people avoid it.
Although I'd never apply a transition on all elements, but that's a whole other subject.
It can be smaller! See: https://gist.github.com/jlong/e1f4c1e7b0df68db53e1eb9fa7558f23