Forum Moderators: not2easy
I'm wondering if there is a way to group descendents that have different properties. Ex:
#content div {
text-align: center;
color: red;
}#content a {
color: blue;
text-decoration: none;
}
#content h1 {
color: yellow;
}
Turn the above into something like:
#content{
div {
text-align: center;
color: red;
} a {
color: blue;
text-decoration: none;
}
h1 {
color: yellow;
}
}
Is this possible at all? Or do I just need to add #content in front of every descendent?
Thanks in advance for your help