<!DOCTYPE html>
<html>
<head>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* CSS selector with :where()
pseudo-class overriden */
.GeeeksforGeeks :where(section, p) em {
background: rgb(231, 118, 231);
color: white;
}
.GeeeksforGeeks em {
background: green;
color: white;
}
</style>
</head>
<body style="text-align:center">
<h1 style="color:green;">
GeeksforGeeks
</h1>
<h2>
CSS :where() pseudo-class
</h2>
</br>
<div class="GeeeksforGeeks">
<h2>This is GeeeksforGeeks website</h2> </br>
<p>
<em>
If it will not override, then
the background colour of this
text is purple
</em>
</p></br>
<section>
<em>
If it will override, then the
background colour of this text
is green
</em>
</section>
</div>
</body>
</html>