2009-10-21

CSS attribute selectors in SASS

I was trying to do this:

div[class = "select_locale"]
  color: red

But that fails. You have to remove the spaces.

div[class="select_locale"]
  color: red

Thanks to Nex3 for explaining this.

No comments: