I have this structure in an old CSS file:
h1.myClass{
color:red;
font-size:18px;
}
h2.myClass{
color:blue;
font-size:16px;
}
h3.myClass{
color:yellow;
font-size:14px;
}
and i want to do it in a SASS way (if possible). some way that i don't have to repeat myClass several times. maybe, a technique that is similar to nesting in SASS.