Does your site look boring and you want to make it attractive with a unique design? With this Colorful Animated Wavy Header, you can achieve this.
The wavy header is colorful and fully animated which is a unique way to design header. The Waves generated with javascript and canvas.
Furthermore, you can add content, logo and navigation menu to make it stand header for your website.
It is mobile-friendly header which provides a nice looking waves animation. These waves are in different colors and continuous flying.
How to Make Animated Wavy Header
Let’s add the following two files in the before closing head tag.
<link rel="stylesheet" type="text/css" href="wavy.css" /> <script async src="wavy.js"></script>
To implement header into your website, you need to define a wrap and then add the HTML5 canvas tag. But remember to add text over the animated header, you need to define a different class header and put it above the canvas container.
<div class="header"> <h1>Waves: Animated Colorful Header</h1> <p>Waves generated with javascript and <canvas>.</p> </div> <div class="canvas-wrap"> <canvas id="canvas"></canvas> </div>
That’s It. It’s simple and so easy to implement on any kind of website.