Loading animation with keyframe for SCSS & Jade.

Size
3,991 Kb
Views
42,504

How do I make an loading animation with keyframe for scss & jade.?

Loading animation with keyframe for SCSS & Jade.. What is a loading animation with keyframe for scss & jade.? How do you make a loading animation with keyframe for scss & jade.? This script and codes were developed by François Lesenne on 12 August 2022, Friday.

Loading animation with keyframe for SCSS & Jade. Previews

Loading animation with keyframe for SCSS & Jade. - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Loading animation with keyframe for SCSS & Jade.</title> <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>
<section class="loaders"><span class="loader loader-quart"> </span> Loading...</section>
<section class="loaders loaders-bg-2"><span class="loader loader-double"> </span> Loading...</section>
<section class="loaders loaders-bg-3"><span class="loader loader-circles"> </span> Loading...</section>
<section class="loaders loaders-bg-4"><span class="loader loader-bars"><span> </span></span> Loading...</section> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>

Loading animation with keyframe for SCSS & Jade. - Script Codes CSS Codes

/* $Base */
body { margin: 0; padding: 0; font-family: sans-serif; font-size: 40px; font-size: 2.5rem; color: #fff; text-align: center;
}
.loaders { height: 300px; line-height: 300px; background-color: #4EBA6F;
}
.loaders-bg-2 { background-color: #2D95BF;
}
.loaders-bg-3 { background-color: #F15A5A;
}
.loaders-bg-4 { background-color: #955BA5;
}
.loader { display: inline-block; position: relative; width: 50px; height: 50px; vertical-align: middle;
}
/*	$Loader Quadrant	========================================================================== */
.loader-quart { border-radius: 50px; border: 6px solid rgba(255, 255, 255, 0.4);
}
.loader-quart:after { content: ''; position: absolute; top: -6px; right: -6px; bottom: -6px; left: -6px; border-radius: 50px; border: 6px solid transparent; border-top-color: #fff; -webkit-animation: spin 1s linear infinite; animation: spin 1s linear infinite;
}
/*	$Loader Double circle	========================================================================== */
.loader-double { border-radius: 50px; border: 6px solid transparent; border-top-color: #fff; border-bottom-color: #fff; -webkit-animation: spin 1.5s linear infinite; animation: spin 1.5s linear infinite;
}
.loader-double:before, .loader-double:after { content: ''; position: absolute; top: 5px; right: 5px; bottom: 5px; left: 5px; border-radius: 50px; border: 6px solid transparent; border-top-color: #fff; border-bottom-color: #fff; opacity: 0.6; filter: alpha(opacity=60); -webkit-animation: spinreverse 2s linear infinite; animation: spinreverse 2s linear infinite;
}
.loader-double:before { top: 15px; left: 15px; bottom: 15px; right: 15px; -webkit-animation: spinreverse 3s linear infinite; animation: spinreverse 3s linear infinite;
}
/*	$Loader Multiple circle	========================================================================== */
.loader-circles { border-radius: 50px; border: 3px solid transparent; border-top-color: #fff; -webkit-animation: spin 1s linear infinite; animation: spin 1s linear infinite;
}
.loader-circles:before, .loader-circles:after { content: ''; position: absolute; top: 5px; right: 5px; bottom: 5px; left: 5px; border-radius: 50px; border: 3px solid transparent; border-top-color: #fff; opacity: 0.8; filter: alpha(opacity=80); -webkit-animation: spinreverse 5s linear infinite; animation: spinreverse 5s linear infinite;
}
.loader-circles:before { top: 12px; left: 12px; bottom: 12px; right: 12px; -webkit-animation: spinreverse 10s linear infinite; animation: spinreverse 10s linear infinite;
}
/*	$Loader Bars	========================================================================== */
.loader-bars:before,
.loader-bars:after,
.loader-bars span { content: ''; display: block; position: absolute; left: 0; top: 0; width: 10px; height: 30px; background-color: #fff; -webkit-animation: grow 1.5s linear infinite; animation: grow 1.5s linear infinite;
}
.loader-bars:after { left: 15px; -webkit-animation: grow 1.5s linear -0.5s infinite; animation: grow 1.5s linear -0.5s infinite;
}
.loader-bars span { left: 30px; -webkit-animation: grow 1.5s linear -1s infinite; animation: grow 1.5s linear -1s infinite;
}
@-webkit-keyframes grow { 0% { -webkit-transform: scaleY(0); transform: scaleY(0); opacity: 0; } 50% { -webkit-transform: scaleY(1); transform: scaleY(1); opacity: 1; } 100% { -webkit-transform: scaleY(0); transform: scaleY(0); opacity: 0; }
}
@keyframes grow { 0% { -webkit-transform: scaleY(0); transform: scaleY(0); opacity: 0; } 50% { -webkit-transform: scaleY(1); transform: scaleY(1); opacity: 1; } 100% { -webkit-transform: scaleY(0); transform: scaleY(0); opacity: 0; }
}
@-webkit-keyframes spin { 0% { -webkit-transform: rotate(0deg); tranform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); tranform: rotate(360deg); }
}
@keyframes spin { 0% { -webkit-transform: rotate(0deg); tranform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); tranform: rotate(360deg); }
}
@-webkit-keyframes spinreverse { 0% { -webkit-transform: rotate(0deg); tranform: rotate(0deg); } 100% { -webkit-transform: rotate(-360deg); tranform: rotate(-360deg); }
}
@keyframes spinreverse { 0% { -webkit-transform: rotate(0deg); tranform: rotate(0deg); } 100% { -webkit-transform: rotate(-360deg); tranform: rotate(-360deg); }
}

Loading animation with keyframe for SCSS & Jade. - Script Codes JS Codes

// Loading animation with keyframe for SCSS & Jade
// inspired by http://www.grafikart.fr/tutoriels/html-css/loaders-animes-496
// Coding by François Lesenne http://francoislesenne.xyz
Loading animation with keyframe for SCSS & Jade. - Script Codes
Loading animation with keyframe for SCSS & Jade. - Script Codes
Home Page Home
Developer François Lesenne
Username francoislesenne
Uploaded August 12, 2022
Rating 4.5
Size 3,991 Kb
Views 42,504
Do you need developer help for Loading animation with keyframe for SCSS & Jade.?

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!

François Lesenne (francoislesenne) Script Codes
Create amazing SEO content 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!