<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<div class="container">
<h1>CSS Pseudo-Classes</h1>
<h2>:has()</h2>
<div class="product">
<span class="price">£925.00</span>
</div>
<div class="product discount">
<span class="price">£925.00</span>
<div class="strikethrough">Was £1,220.00</div>
</div>
<br />
<h2>:not()</h2>
<ul>
<li>Item 1</li>
<li class="highlight">Item 2</li>
<li>Item 3</li>
<li>Item 4</li>
</ul>
<br />
<h2>empty</h2>
<ul>
<li>Item 1</li>
<li></li>
<li>Item 3</li>
</ul>
<br />
<h2>:focus</h2>