I am looking to incorporate SCSS styles on the body by default, and then reapply them specifically to the P and LI tags (since I do not have complete control over the site and want to prevent plugins from interfering with my p's and li's).
To achieve this, I currently have to use the following structure:
body{
color:#000;
p,li{
color:#000;
}
}
However, this results in some unnecessary repetition. Is there a feature in SCSS that allows for self-referencing or something similar? That way, I could apply the same styles to body, body p, and body li without duplicating the code.
It would be great if there was a syntax like:
body{
[self],p,li{color:#000;}
}