I have an extremely messy stylesheet that I’m trying to clean up, and one thing I’ve searched for an answer to is how to clean an example of this up:
.element .Change {
font-size: 1em;
}
.element .Name {
font-size: 1em;
}
can this be re-written in a cleaner way? ex:
.element .Change, .Name {
font-size: 1em;
}
I should probably know this, but when I search for putting CSS on one line, I get examples of single-line CSS.
Thanks for your help
Yes, almost exactly as you propose.