How to chain pseudo selectors in SASS
css, haml, sass
Solution
a
&:visited:hover
attribute: foo
Nowadays, this is the only valid form. Indention has to be consistent (2 spaces are recommended) and the colon follows the attribute.
Problem
I'm trying to put together a selector in SASS that will operate on the visted, hovered state of a link, but I can't quite seem to get the markup right, can someone enlighten me? I was writing it like this: ``` &:visited:hover attribute: foo ```