Quantcast
Viewing all articles
Browse latest Browse all 45

SASS Variables for Selectors

I’ve been getting friendly with SASS as Crowd Favorite has standardized on that for our CSS pre-processing. Today I was excited to learn1 I can use variables for selectors (and for property names, etc.) as well as for property values (the common usage).

View the code on Gist.

I’m going to really like this for A tags, etc.


  1. Thanks Rona

Viewing all articles
Browse latest Browse all 45

Trending Articles