SVG Audio Wave Loader

Size
2,547 Kb
Views
64,768

How do I make an svg audio wave loader?

Animated using only CSS. What is a svg audio wave loader? How do you make a svg audio wave loader? This script and codes were developed by Rachel McGrane on 12 September 2022, Monday.

SVG Audio Wave Loader Previews

SVG Audio Wave Loader - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>SVG Audio Wave Loader</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="loader">
<svg id="wave" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 38.05"> <title>Audio Wave</title> <path id="Line_1" data-name="Line 1" d="M0.91,15L0.78,15A1,1,0,0,0,0,16v6a1,1,0,1,0,2,0s0,0,0,0V16a1,1,0,0,0-1-1H0.91Z"/> <path id="Line_2" data-name="Line 2" d="M6.91,9L6.78,9A1,1,0,0,0,6,10V28a1,1,0,1,0,2,0s0,0,0,0V10A1,1,0,0,0,7,9H6.91Z"/> <path id="Line_3" data-name="Line 3" d="M12.91,0L12.78,0A1,1,0,0,0,12,1V37a1,1,0,1,0,2,0s0,0,0,0V1a1,1,0,0,0-1-1H12.91Z"/> <path id="Line_4" data-name="Line 4" d="M18.91,10l-0.12,0A1,1,0,0,0,18,11V27a1,1,0,1,0,2,0s0,0,0,0V11a1,1,0,0,0-1-1H18.91Z"/> <path id="Line_5" data-name="Line 5" d="M24.91,15l-0.12,0A1,1,0,0,0,24,16v6a1,1,0,0,0,2,0s0,0,0,0V16a1,1,0,0,0-1-1H24.91Z"/> <path id="Line_6" data-name="Line 6" d="M30.91,10l-0.12,0A1,1,0,0,0,30,11V27a1,1,0,1,0,2,0s0,0,0,0V11a1,1,0,0,0-1-1H30.91Z"/> <path id="Line_7" data-name="Line 7" d="M36.91,0L36.78,0A1,1,0,0,0,36,1V37a1,1,0,1,0,2,0s0,0,0,0V1a1,1,0,0,0-1-1H36.91Z"/> <path id="Line_8" data-name="Line 8" d="M42.91,9L42.78,9A1,1,0,0,0,42,10V28a1,1,0,1,0,2,0s0,0,0,0V10a1,1,0,0,0-1-1H42.91Z"/> <path id="Line_9" data-name="Line 9" d="M48.91,15l-0.12,0A1,1,0,0,0,48,16v6a1,1,0,1,0,2,0s0,0,0,0V16a1,1,0,0,0-1-1H48.91Z"/>
</svg>
</div>
</body>
</html>

SVG Audio Wave Loader - Script Codes CSS Codes

html, body { height: 100%;
}
body { background: #101010;
}
.loader { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; height: 100%;
}
#wave { height: 70px; width: 70px; fill: #fff;
}
#Line_1 { -webkit-animation: pulse 1s infinite; animation: pulse 1s infinite; -webkit-animation-delay: 0.15s; animation-delay: 0.15s;
}
#Line_2 { -webkit-animation: pulse 1s infinite; animation: pulse 1s infinite; -webkit-animation-delay: 0.3s; animation-delay: 0.3s;
}
#Line_3 { -webkit-animation: pulse 1s infinite; animation: pulse 1s infinite; -webkit-animation-delay: 0.45s; animation-delay: 0.45s;
}
#Line_4 { -webkit-animation: pulse 1s infinite; animation: pulse 1s infinite; -webkit-animation-delay: 0.6s; animation-delay: 0.6s;
}
#Line_5 { -webkit-animation: pulse 1s infinite; animation: pulse 1s infinite; -webkit-animation-delay: 0.75s; animation-delay: 0.75s;
}
#Line_6 { -webkit-animation: pulse 1s infinite; animation: pulse 1s infinite; -webkit-animation-delay: 0.9s; animation-delay: 0.9s;
}
#Line_7 { -webkit-animation: pulse 1s infinite; animation: pulse 1s infinite; -webkit-animation-delay: 1.05s; animation-delay: 1.05s;
}
#Line_8 { -webkit-animation: pulse 1s infinite; animation: pulse 1s infinite; -webkit-animation-delay: 1.2s; animation-delay: 1.2s;
}
#Line_9 { -webkit-animation: pulse 1s infinite; animation: pulse 1s infinite; -webkit-animation-delay: 1.35s; animation-delay: 1.35s;
}
@-webkit-keyframes pulse { 0% { -webkit-transform: scaleY(1); transform: scaleY(1); -webkit-transform-origin: 50% 50%; transform-origin: 50% 50%; } 50% { -webkit-transform: scaleY(0.7); transform: scaleY(0.7); -webkit-transform-origin: 50% 50%; transform-origin: 50% 50%; } 100% { -webkit-transform: scaleY(1); transform: scaleY(1); -webkit-transform-origin: 50% 50%; transform-origin: 50% 50%; }
}
@keyframes pulse { 0% { -webkit-transform: scaleY(1); transform: scaleY(1); -webkit-transform-origin: 50% 50%; transform-origin: 50% 50%; } 50% { -webkit-transform: scaleY(0.7); transform: scaleY(0.7); -webkit-transform-origin: 50% 50%; transform-origin: 50% 50%; } 100% { -webkit-transform: scaleY(1); transform: scaleY(1); -webkit-transform-origin: 50% 50%; transform-origin: 50% 50%; }
}
SVG Audio Wave Loader - Script Codes
SVG Audio Wave Loader - Script Codes
Home Page Home
Developer Rachel McGrane
Username rachelmcgrane
Uploaded September 12, 2022
Rating 3
Size 2,547 Kb
Views 64,768
Do you need developer help for SVG Audio Wave Loader?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Rachel McGrane (rachelmcgrane) Script Codes
Create amazing sales emails with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!