Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] Adventures with SASS ampersand Reply To: [Solved] Adventures with SASS ampersand

#189442
elneco
Participant

heres another way to think about what Im trying to accomplish:

In the style block for .a {} – I want to check if this class is attached to a particular tag. If that tag is a p tag I want to alter the styles for that scenario.

I would like to know if this can be accomplished in that same style block?