An Interest In:
Web News this Week
- April 19, 2024
- April 18, 2024
- April 17, 2024
- April 16, 2024
- April 15, 2024
- April 14, 2024
- April 13, 2024
Wavy Backgrounds with CSS & SVG
Modern websites consist multiple features which makes it more attractive and phenomenal. Developers add more customizations and animations to websites for better look and waves are one of them. Every modern website includes waves and its actually convert normal look to better UI.
Get started with waves
Creative waves are easy but the actual challenge is to use it, how to setup and where. We can develop waves using pure SVG codes but a lot of different tools which helps you to get attractive waves.
Waves using pure SVG code
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Waves tutorial!</title> <link rel="stylesheet" href="styles.css"> </head> <body> <div class="wave-container"> <h1>Hello, amazing readers!</h1> <p>Waves are awesome!</p> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"> <path fill="#FFF" d=""></path> </svg></div> </body></html>
We can customize waves using SVG path you can explore more about SVG's from here!
Waves using external tools
There are multiple tools area available to draw waves and one of them which I recommend is getwaves.io because its simple to use and its came with lot of customizations like color, size multiple waves and other features.
You can create various type of animations with HTML SVG's with your own creativity visit to official documentation and explore it.
External tools to create SVG' Waves
Recommendations
Learn more about SVG's by exploring below documentations
Connect with me on Socials
Thankyou for reading this article.
You can support my work [here!] (https://github.com/sponsors/ganeshpatil386386)
Original Link: https://dev.to/patilganesh1010/wavy-backgrounds-with-css-svg-11ef
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To