CSS SVG Neon Loader Animation Effects

CSS SVG Neon Loader Animation Effects



All Source Code : https://www.patreon.com/onlinetutorials Get now more than 1000+ source code just by clicking on this link …

source

<!doctype html>
<html>
	<head>
		<meta charset="utf-8">
		<title>Neon SVG Loader</title>
		<link rel="stylesheet" href="style.css">
	</head>
	<body>
		<div class="loader">
			<svg viewBox="0 0 200 200">
                <circle cx="100" cy="100" r="50" ></circle>
            </svg>
			<svg viewBox="0 0 200 200">
                <circle cx="100" cy="100" r="50" ></circle>
            </svg>
			<svg viewBox="0 0 200 200">
                <circle cx="100" cy="100" r="50" ></circle>
            </svg>
		</div>
	</body>
</html>
*
{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
body
{
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
	background: #001424;
}
.loader
{
	position: relative;
	width: 200px;
	height: 200px;
}
.loader svg
{
	position: absolute;
	top: 0;
	left: 0;
}
.loader svg circle
{
	fill: none;
    stroke: #e50914;
    stroke: #ffffff;
    stroke-width: 10px;
    stroke-linejoin: round;
    stroke-linecap: round;
    animation: animate 2s linear infinite;
}
.loader svg:nth-child(1) circle
{
	filter: blur(10px);
    stroke: #43acff;
}
.loader svg:nth-child(2) circle
{
	filter: blur(20px);
    stroke: #43acff;
}
@keyframes animate
{
	0%
	{
	    stroke-dasharray: 295;
	    stroke-dashoffset: 295;
	}
	50%
	{
	    stroke-dasharray: 295;
	    stroke-dashoffset: 0;
	}
	100%
	{
	    stroke-dasharray: 295;
	    stroke-dashoffset: -295;
	}
}

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *