<link rel="stylesheet" href="https://codepen.io/web-dot-dev/pen/abpoXGZ.css" />
<link rel="stylesheet" href="https://codepen.io/web-dot-dev/pen/bGgNodr.css" />
<main>
<div class="wrapper">
<article class="flow">
<h1>Cascade position order</h1>
<figure class="callout">
<p>
The button has a blue background, as defined by <a href="https://codepen.io/piccalilli/pen/d0b29f89bdec23929c3847ed01bd7a1d.css">this CSS</a>, which is grabbed by a <code><link /></code>.
A CSS rule that sets it to be dark is grabbed by another <code><link /></code> and is applied because of its later position.
</p>
</figure>
<button class="button">
My background has been set by the second link element.
</button>
</article>
</div>
</main>
This Pen doesn't use any external JavaScript resources.