Loading animation
How do I make an loading animation?
Simple loading animation with jquery and css. What is a loading animation? How do you make a loading animation? This script and codes were developed by Alejandro Montañez on 13 October 2022, Thursday.
Loading animation - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>loading animation</title> <link rel="stylesheet" href="css/style.css">
</head>
<body>
<div> <h2>loading animation</h2> <h1>jQuery and CSS</h1>
</div>
<div id="loading"><span></span><span></span><span></span>
</div> <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 - Script Codes CSS Codes
@import url(https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300);
html{background-color:#0e0f10;}
div:first-of-type{position:absolute; top:50%; left:50%;
margin:-96px 0 0 -200px;}
h1,h2{margin:0;padding:0;text-align:center;letter-spacing:3px;font-weight:lighter;font-family:'Open sans condensed','Myriad Pro',Arial,sans-serif;}
h1{font-size:72px; line-height:72px; color:#808080;}
h2{font-size:38px; line-hegiht:38px; color:#a0a0a0;}
#loading{ position:absolute; top:50%; left:50%; margin:56px 0 0 -63px;
}
#loading span{ width:32px; height:32px; float:left; border-radius:50%; opacity:0.2; background-color:#e0e0e0;
}
#loading span:not(:first-child){ margin-left:15px;
}
#loading .bubble{ -webkit-animation:bubble 450ms; animation:bubble 450ms;
}
@-webkit-keyframes bubble{ 0%{opacity:0;-webkit-transform:scale(0.5);transform:scale(0.5);} 50%{opacity:0.9;-webkit-transform:scale(1.03);transform:scale(1.03);} 80%{opacity:1;-webkit-transform:scale(0.98);transform:scale(0.98);} 100%{-webkit-transform:scale(1);transform:scale(1);}
}
@keyframes bubble{ 0%{opacity:0;-webkit-transform:scale(0.5);transform:scale(0.5);} 50%{opacity:0.9;-webkit-transform:scale(1.03);transform:scale(1.03);} 80%{opacity:1;-webkit-transform:scale(0.98);transform:scale(0.98);} 100%{-webkit-transform:scale(1);transform:scale(1);}
}
Loading animation - Script Codes JS Codes
function animar(){$('#loading span').each(function(i){ var t=$(this);setTimeout(function(){ t.addClass('bubble');setTimeout(function(){ t.removeClass('bubble') },450);if(i==2)animar() },((i+1)*450))
})}animar()
Developer | Alejandro Montañez |
Username | codeams |
Uploaded | October 13, 2022 |
Rating | 3 |
Size | 2,408 Kb |
Views | 34,408 |
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!
Name | Size |
Minimalist vcard | 3,351 Kb |
Minimalist Wordpress login | 3,993 Kb |
Another loading animation | 2,463 Kb |
Next Effect | 3,103 Kb |
My favorite palettes | 4,751 Kb |
Sticky navigation sample | 3,642 Kb |
Progressbar test | 2,727 Kb |
Loading | 1,859 Kb |
Such Spinners, Much Loading | 3,133 Kb |
Loading animation | 2,249 Kb |
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!
Name | Username | Size |
Boxes | H3l1um | 2,563 Kb |
CSS3 keyframe onload animation. | Samueljseay | 1,706 Kb |
Import shader in three.js | Khangeldy | 2,636 Kb |
Parallax-ish Sliding Content | Jdsteinbach | 2,748 Kb |
Wikipedia Viewer | Thalpha | 4,426 Kb |
HTM5 picture dropzone | Jaysalvat | 2,576 Kb |
CSS3 Form Page Design | Rssatnam | 3,613 Kb |
Pomodoro Timer | Sdas13 | 2,900 Kb |
TigerWoods Freecodecamp Page | Baileytj | 2,869 Kb |
Weather App | Kw7oe | 3,162 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!