Advertisement
ul {
–color: red;
}
p {
color: var(–color);
}
a {
color: var(–color, orange);
}
<p>Paragraph</p>
<ul>
<li>
<a href=”#”>list item a link </a>
</li>
<li>list item</li>
</ul>
- red
- orange
- blue
- black
Join our list
Subscribe to our mailing list and get interesting stuff and updates to your email inbox.