<article>The selector list of :is() is forgiving</article>
<p>The selector list of :is() is forgiving</p>
@import url("https://fonts.googleapis.com/css2?family=Exo:wght@600&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

body {
  width: 100vw;
  min-height: 100vh;
  font-family: "Exo", Arial, sans-serif;
  background-color: #557;
  color: #fff;
  display: grid;
  gap: 20px;
  place-content: center;
  font-size: clamp(1.5rem, 2vw + 1rem, 2.25rem);
  line-height: 1.5;

:is(-ua-invalid, article, p, $css:rocks) {
  color: hotpink;

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.