<header>
<p>This is my header paragraph</p>
</header>
<main>
<ul>
<li><p>This is my first</p><p>list item</p></li>
</ul>
</main>
<footer>
<p>This is my footer paragraph</p>
</footer>
:any(header, main, footer) p:hover {
color: red;
cursor: pointer;
}
:any(header, main, footer) p:hover {
color: red;
cursor: pointer;
}
:matches(header, main, footer) p:hover {
color: red;
cursor: pointer;
}
:is(header, main, footer) p:hover {
color: red;
cursor: pointer;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.