Home › Forums › CSS › [Solved] Adventures with SASS ampersand › Reply To: [Solved] Adventures with SASS ampersand
November 28, 2014 at 1:49 pm
#189424
Paulie_D
Member
This..
p.a { color: green; }
…is not a parent selector. It’s a p
with a class of ‘a’.
The ampersand selects the parent selector not the parent style.
http://thesassway.com/intermediate/referencing-parent-selectors-using-ampersand