← All elements
<footer class="ow"><div class="wv"><i></i><i></i><i></i></div><div class="ct"><b>Tidepool Studio</b><span>Made by the sea</span></div></footer>About this wave
A site footer with three layers of waves rolling along its top edge at different speeds.
How it works
Three layers each repeat one rounded crest as a radial gradient tile. They are offset downwards, shaded from light to dark and moved with different speeds and directions by animating the background position. The solid footer below joins the darkest layer.
Ways to customise it
- Change the three --w colours.
- Change the durations for calmer water.
- Change the 64px tile width, and the end position to a multiple of it.
Good to know
The waves are decorative and the footer text sits on a solid colour for contrast. The motion stops for reduced-motion users.
Open an example, copy the HTML and the CSS, and paste them into your page. There is nothing to install and no JavaScript to load.