No media files provided.
We want to create the following effect with linear gradient.
See the Pen Linear Gradient by Thomas Seng Hin Mak (@makzan) on CodePen.
Given the following HTML:
<nav>
<div class="demo">DEMO</div>
<div class="demo">DEMO</div>
<div class="demo">DEMO</div>
<div class="demo">DEMO</div>
<div class="demo">DEMO</div>
</nav>
You may find my implementation here: