shankara-subramani / tinyreset

Tiny CSS reset for the modern web
http://tinyreset.surge.sh/
MIT License
247 stars 9 forks source link

It can be smaller #1

Open jlong opened 7 years ago

jlong commented 7 years ago

It can be smaller! See: https://gist.github.com/jlong/e1f4c1e7b0df68db53e1eb9fa7558f23

VPenkov commented 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.

shankara-subramani commented 7 years ago

@VPenkov Agree.

jlong commented 7 years ago

@VPenkov Please read: http://blogs.telerik.com/kendoui/posts/12-09-28/css_tip_star_selector_not_that_bad

VPenkov commented 7 years ago

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