hspsh / hsp.sh-legacy

Static hackerspace website.
http://hsp.sh
Apache License 2.0
2 stars 14 forks source link

Remove that * selector #33

Open olo2552 opened 6 years ago

olo2552 commented 6 years ago

I'm talking about this: https://github.com/hs3city/hs3city.github.io/blob/ad43120d6dde71371a6c36af10101426db593a19/_sass/main.scss#L8

Asterisk selector is shiet, it's slow and often unpredictable. It also have specificity issues ( specificity 0 0 0 0). Use replacement used in normalize.css for instance (manually selecting every needed element). The even better way is to make asterisk() sass mixin.