{"id":3079,"date":"2017-09-13T13:13:28","date_gmt":"2017-09-13T18:13:28","guid":{"rendered":"http:\/\/cssnewbie.com\/?p=2502"},"modified":"2017-09-13T13:13:28","modified_gmt":"2017-09-13T18:13:28","slug":"15-css3-based-loading-animations","status":"publish","type":"post","link":"https:\/\/cssdeck.com\/blog\/15-css3-based-loading-animations\/","title":{"rendered":"15 Awesome CSS3-based Loading Animations"},"content":{"rendered":"<h2>What are CSS3 Animations?<\/h2>\n<p>CSS3 animations are quite powerful and many unimaginable animations can be created using CSS3. With a little knowledge of CSS3 one can create simple animations, and an in-depth knowledge of CSS3 can open doors for creating some really complex animations. We are all quite familiar with the loader shown on any website while the page is loading. The most commonly used ways to display loader are a spinner (a GIF image), loading text or a progress bar. CSS3 can take this to another level and can give a whole new user experience to this loading process with different, neat, simple, and unique animations.<br \/>\nThis post is a collection of 15 purely CSS3-based loading animations which will simply bring a \u201cWOW\u201d factor to your page. These loading animations are different and unique from each other in terms of animation, design, and behavior. These loading animations play with loading text, wave effects, circles, squares, and many other objects. Another advantage is that you can easily modify the design and colors to match your website&#8217;s color guidelines. Enjoy&#8230;<\/p>\n<p>Please note that all these examples are taken from<a href=\"https:\/\/codepen.io\/\"> Codepen<\/a>.<\/p>\n<p>&nbsp;<\/p>\n<h2>1. CSS loading animation by Max<\/h2>\n<p><a href=\"https:\/\/codepen.io\/MyXoToD\/pen\/Djnbq\">https:\/\/codepen.io\/MyXoToD\/pen\/Djnbq<\/a><\/p>\n<p>This wave like loading animation is quite stunning! This animation is eye-catching and very neatly done. It uses horizontal lines with some gradient effects to generate a wave. The CSS3 code makes use of the @keyframe rule which specifies the animation code. The animation is created by gradually changing from one set of CSS styles to another. During the animation, you can change the set of CSS styles many times.<\/p>\n<p class=\"codepen\" data-height=\"265\" data-theme-id=\"dark\" data-slug-hash=\"Djnbq\" data-default-tab=\"result\" data-user=\"MyXoToD\" data-embed-version=\"2\" data-pen-title=\"CSS3 Loading Animation\" data-preview=\"true\">See the Pen <a href=\"https:\/\/codepen.io\/MyXoToD\/pen\/Djnbq\/\">CSS3 Loading Animation<\/a> by Max (<a href=\"https:\/\/codepen.io\/MyXoToD\">@MyXoToD<\/a>) on <a href=\"https:\/\/codepen.io\">CodePen<\/a>.<\/p>\n<h2>2. Colorful circles turning into Square loading animation<\/h2>\n<p><a href=\"https:\/\/codepen.io\/MyXoToD\/pen\/zbgAm\">https:\/\/codepen.io\/MyXoToD\/pen\/zbgAm <\/a><\/p>\n<p>This loading animation uses 8 colored circles that turn into a square and then back to a circle to show the loading process. The colors used for the animations are quite vibrant and you can easily change them to match with your website theme. The CSS code uses @keyframe rules, plays with the border radius, scales them and finally rotates them to create this effect. See the Pen <a href=\"https:\/\/codepen.io\/MyXoToD\/pen\/zbgAm\/\">CSS3 Loading Animation<\/a> by Max (<a href=\"https:\/\/codepen.io\/MyXoToD\">@MyXoToD<\/a>) on <a href=\"https:\/\/codepen.io\">CodePen<\/a>.<\/p>\n<p>&nbsp;<\/p>\n<h2>3. CSS loading animation by patrikhjelm<\/h2>\n<p><a href=\"https:\/\/codepen.io\/patrikhjelm\/pen\/hItqn\">https:\/\/codepen.io\/patrikhjelm\/pen\/hItqn<\/a><\/p>\n<p>This CSS3-based loading animation pen uses seven different colored dots to create a loading effect. The movement of these dots creates an animation where you would feel like a snake is moving. The CSS code sets different positions for each dot and then animates them using transform properties to create a continuous animation. The dots move from left to right at different positions to create a beautiful effect. The CSS3 code uses the translate property to change the position of dots. See the Pen <a href=\"https:\/\/codepen.io\/patrikhjelm\/pen\/hItqn\/\">CSS loading animation<\/a> by Patrik Hjelm (<a href=\"https:\/\/codepen.io\/patrikhjelm\">@patrikhjelm<\/a>) on <a href=\"https:\/\/codepen.io\">CodePen<\/a>.<\/p>\n<p>&nbsp;<\/p>\n<p><script src=\"https:\/\/production-assets.codepen.io\/assets\/embed\/ei.js\" async=\"\"><\/script><\/p>\n<h2>4. Wavy dot style CSS loading animation<\/h2>\n<p><a href=\"https:\/\/codepen.io\/rajarju\/pen\/pFrIt\">https:\/\/codepen.io\/rajarju\/pen\/pFrIt<\/a><\/p>\n<p>This pen is another classic example of using dots to create loading animations. The dots jump slightly one after the other to create a horizontal wave and gradually change their color also. While jumping, the dots change their color and revert while coming down. The CSS3 implementation is quite easy to understand! The CSS3 uses the translate property to make the dots jump and at the same time change their color. See the Pen <a href=\"https:\/\/codepen.io\/rajarju\/pen\/pFrIt\/\">CSS3 Loading Animation<\/a> by Arjun Raj (<a href=\"https:\/\/codepen.io\/rajarju\">@rajarju<\/a>) on <a href=\"https:\/\/codepen.io\">CodePen<\/a>.<\/p>\n<p><script src=\"https:\/\/production-assets.codepen.io\/assets\/embed\/ei.js\" async=\"\"><\/script><\/p>\n<h2>5. 10 different CSS3 loading animation by Manoz<\/h2>\n<p><a href=\"https:\/\/codepen.io\/rajarju\/pen\/pFrIt\">https:\/\/codepen.io\/Manoz\/pen\/pydxK <\/a><\/p>\n<p>This pen demonstrates 10 different ways of showing the loading animation. The loading effects are created using animated bars, circles, lines, squares, loading spinners and loading text. The CSS3 code uses properties like transform, rotate and scale to generate loading effects. You can choose any of them as per your requirement and easily incorporate them with a few lines of CSS3 code. See the Pen <a href=\"https:\/\/codepen.io\/Manoz\/pen\/pydxK\/\">CSS3 Loading animations<\/a> by Manoz (<a href=\"https:\/\/codepen.io\/Manoz\">@Manoz<\/a>) on <a href=\"https:\/\/codepen.io\">CodePen<\/a>.6. Circle turning into a planet style loading animation https:\/\/codepen.io\/isuttell\/pen\/RNqqWE This simple and neatly-created loading animation turns a medium size black color circle into a planet and then back to a circle in a continuous manner. The animation uses 2 circle objects where one appears after every few seconds and the other circle flips itself and shrinks it to create a planet effect. The CSS code is written in SCSS, so the code takes advantage of SCSS features like @mixin, @include and loops. See the Pen <a href=\"https:\/\/codepen.io\/MyXoToD\/pen\/zbgAm\/\">CSS3 Loading Animation<\/a> by Max (<a href=\"https:\/\/codepen.io\/MyXoToD\">@MyXoToD<\/a>) on <a href=\"https:\/\/codepen.io\">CodePen<\/a>.<\/p>\n<h2>7. Little waves loader animation<\/h2>\n<p><a href=\"https:\/\/codepen.io\/terotic\/pen\/pBolv\">https:\/\/codepen.io\/terotic\/pen\/pBolv <\/a><\/p>\n<p>It\u2019s a cute little animation which creates a small wave on the screen. The white color lines simply turn into a tiny wave to show a loading process. There is also \u201cloading\u201d text displayed below the wave. This can be an ideal choice, for example, for the website of any beach resorts or caf\u00e9s near beaches to show loading on their website. The code is based on SCSS and uses CSS3 @keyframe rules along with border radius property. See the Pen <a href=\"https:\/\/codepen.io\/terotic\/pen\/pBolv\/\">Little waves loader animation<\/a> by Tero Tikkanen (<a href=\"https:\/\/codepen.io\/terotic\">@terotic<\/a>) on <a href=\"https:\/\/codepen.io\">CodePen<\/a>.<script src=\"https:\/\/production-assets.codepen.io\/assets\/embed\/ei.js\" async=\"\"><\/script>8. Strange loading animation https:\/\/codepen.io\/thecuriousdev\/pen\/pCKhF This is a quite familiar animation and can remind you of your childhood. A ball rolls inside a rectangular shaped object which itself flips its position upside down, which gives animation where the ball falls from the top. An ideal choice for games, movies, or funky websites. The CSS code sets a different position at every 10% to create this animation. See the Pen <a href=\"https:\/\/codepen.io\/thecuriousdev\/pen\/pCKhF\/\">CSS3 Loading Animation<\/a> by The Curious Developer (<a href=\"https:\/\/codepen.io\/thecuriousdev\">@thecuriousdev<\/a>) on <a href=\"https:\/\/codepen.io\">CodePen<\/a>.<script src=\"https:\/\/production-assets.codepen.io\/assets\/embed\/ei.js\" async=\"\"><\/script><\/p>\n<h2>9. Square Blink Animation<\/h2>\n<p><a href=\"https:\/\/codepen.io\/trungk18\/pen\/yJggrL\">https:\/\/codepen.io\/trungk18\/pen\/yJggrL <\/a><\/p>\n<p>This pen shows 3 different types of square blink animations. In this first animation, there are 4 squares where one blinks after the other. In the second animation, a small square blinks one after the other to create a big square, while the third animation simply shrinks and zooms the two small squares. The CSS code changes the opacity of the squares and uses the translate property to change their positions. See the Pen <a href=\"https:\/\/codepen.io\/trungk18\/pen\/yJggrL\/\">CSS3 Loading &#8211; Square Blink<\/a> by Vo Tuan Trung (<a href=\"https:\/\/codepen.io\/trungk18\">@trungk18<\/a>) on <a href=\"https:\/\/codepen.io\">CodePen<\/a>.<script src=\"https:\/\/production-assets.codepen.io\/assets\/embed\/ei.js\" async=\"\"><\/script>10. Animated loading text https:\/\/codepen.io\/irshad1990\/pen\/GrmjmX This pen shows \u201cLoading\u201d text in an animated way. The text initially appears in grey color and later uses 3D effects to zoom every single letter in yellow color and to complete the animation, the text becomes grey again. The CSS code animates every single letter and adds an animation delay to it. It also uses @keyframe rules to animate the text at the 0%, 25%, and 100% positions. See the Pen <a href=\"https:\/\/codepen.io\/irshad1990\/pen\/GrmjmX\/\">Css3 Loading effect<\/a> by Muhammad Irshad (<a href=\"https:\/\/codepen.io\/irshad1990\">@irshad1990<\/a>) on <a href=\"https:\/\/codepen.io\">CodePen<\/a>.<script src=\"https:\/\/production-assets.codepen.io\/assets\/embed\/ei.js\" async=\"\"><\/script><\/p>\n<h2>11. Beautiful simple CSS3 Loading spinner<\/h2>\n<p><a href=\"https:\/\/codepen.io\/NitrodeXXer\/pen\/YxrQer\">https:\/\/codepen.io\/NitrodeXXer\/pen\/YxrQer<\/a><\/p>\n<p>This is a beautifully-designed loading spinner having loading text in the center and rounded, colorful lines rotating 360 degrees around the text to create a closed circle. The lines&#8217; rotation starts slowly and then moves at a quick speed to complete the circle. The CSS code is also very simple and easy to understand. It uses @keyframe rules and rotate properties to rotate the lines. See the Pen <a href=\"https:\/\/codepen.io\/NitrodeXXer\/pen\/YxrQer\/\">Most beautiful simple CSS3 Loading spinner<\/a> by -.VLG (<a href=\"https:\/\/codepen.io\/NitrodeXXer\">@NitrodeXXer<\/a>) on <a href=\"https:\/\/codepen.io\">CodePen<\/a>.<script src=\"https:\/\/production-assets.codepen.io\/assets\/embed\/ei.js\" async=\"\"><\/script>12. Round clock-style loading animation https:\/\/codepen.io\/jing0908\/pen\/ytmxl This is a round clock-style loading animation where the clock rotates 360 degrees and inside the circle. There is another animation which connects the circle dots to each other. This animation is also based on SCSS and uses the advanced features of SCSS to create this awesome animation in CSS. It uses the transform property to rotate the circle and connect the dots. See the Pen <a href=\"https:\/\/codepen.io\/jing0908\/pen\/ytmxl\/\">css3 loading<\/a> by jing0908 (<a href=\"https:\/\/codepen.io\/jing0908\">@jing0908<\/a>) on <a href=\"https:\/\/codepen.io\">CodePen<\/a>.<script src=\"https:\/\/production-assets.codepen.io\/assets\/embed\/ei.js\" async=\"\"><\/script><\/p>\n<h2>13. 3D Loading text<\/h2>\n<p><a href=\"https:\/\/codepen.io\/el3zahaby\/pen\/ryEEdx\">https:\/\/codepen.io\/el3zahaby\/pen\/ryEEdx <\/a><\/p>\n<p>This loading animation animates the \u201cLoading\u201d text in a 3D effect. The \u201cLoading\u201d text is placed inside a rounded rectangle and every letter also has a border around it. The code zooms-in and zooms-out every single letter for a few milliseconds to give it a 3D effect and in turn also creates a wave like effect. It uses CSS3 @keyframe rule to put 3D effects using the scale3D property. It scales out the letters after certain percentages to create that zoom-in and zoom-out effect. See the Pen <a href=\"https:\/\/codepen.io\/el3zahaby\/pen\/ryEEdx\/\">Loading page<\/a> by Abdulrhman El &#8211; zahaby (<a href=\"https:\/\/codepen.io\/el3zahaby\">@el3zahaby<\/a>) on <a href=\"https:\/\/codepen.io\">CodePen<\/a>.<script src=\"https:\/\/production-assets.codepen.io\/assets\/embed\/ei.js\" async=\"\"><\/script>14. Dots moving out of the screen https:\/\/codepen.io\/curthusting\/pen\/Bswpe This is a very simple and interesting concept to show loading. There are 7 white colored small sized dots, which first push each other and then push out of the screen from the right side and come back again from the left side of the screen. All this happens at a very quick speed, which makes it look good. The CSS code defines 7 different @keyframe rules and then uses those rules for every circle to get this effect. See the Pen <a href=\"https:\/\/codepen.io\/curthusting\/pen\/Bswpe\/\">css3 Loading animation<\/a> by Curt Husting (<a href=\"https:\/\/codepen.io\/curthusting\">@curthusting<\/a>) on <a href=\"https:\/\/codepen.io\">CodePen<\/a>.<script src=\"https:\/\/production-assets.codepen.io\/assets\/embed\/ei.js\" async=\"\"><\/script><\/p>\n<h2>15. Juggling balls loading effect<\/h2>\n<p><a href=\"https:\/\/codepen.io\/tgideas\/pen\/qmcyH\">https:\/\/codepen.io\/tgideas\/pen\/qmcyH <\/a><\/p>\n<p>You must have seen jugglers doing juggling with three or more balls? This is a similar effect created with CSS3 where 5 colored balls juggle automatically. The basic idea is to change the position of the balls and when all the balls changes their position at the same time, the juggling effect gets created. The CSS uses after and before selectors for each ball and uses different @keyframe rules to scale, translate on the x and y axis, and employ the fade-in effect. See the Pen <a href=\"https:\/\/codepen.io\/tgideas\/pen\/qmcyH\/\"> HTML5\/CSS3 Juggling balls Loading effect <\/a> by tgideas (<a href=\"https:\/\/codepen.io\/tgideas\">@tgideas<\/a>) on <a href=\"https:\/\/codepen.io\">CodePen<\/a>.<script src=\"https:\/\/production-assets.codepen.io\/assets\/embed\/ei.js\" async=\"\"><\/script><\/p>\n<h2>Conclusion<\/h2>\n<p>These are some unique and different ways of showing loading animations on your website. These CSS3-based loading animations are lightweight due to no dependency on JavaScript or jQuery to manipulate the animation. Since they are purely based on CSS3, the design and color can be easily modified to fit your website theme.<\/p>\n<div class=\"wp-socializer wpsr-share-icons \" data-lg-action=\"show\" data-sm-action=\"show\" data-sm-width=\"768\" ><h3>Share and Enjoy !<\/h3><div class=\"wpsr-si-inner\"><div class=\"wpsr-counter wpsrc-sz-32px\" style=\"color:#000\"><span class=\"scount\"><span data-wpsrs=\"\" data-wpsrs-svcs=\"facebook,twitter,linkedin,pinterest,print,pdf\">0<\/span><\/span><small class=\"stext\">Shares<\/small><\/div><div class=\"socializer sr-popup sr-32px sr-circle sr-opacity sr-pad sr-count-1 sr-count-1\"><span class=\"sr-facebook\"><a rel=\"nofollow\" href=\"https:\/\/www.facebook.com\/share.php?u=\" target=\"_blank\"  title=\"Share this on Facebook\"  style=\"color: #ffffff\" ><i class=\"fab fa-facebook-f\"><\/i><span class=\"ctext\"><span data-wpsrs=\"\" data-wpsrs-svcs=\"facebook\">0<\/span><\/span><\/a><\/span>\n<span class=\"sr-twitter\"><a rel=\"nofollow\" href=\"https:\/\/twitter.com\/intent\/tweet?text=%20-%20%20\" target=\"_blank\"  title=\"Tweet this !\"  style=\"color: #ffffff\" ><i class=\"fab fa-twitter\"><\/i><\/a><\/span>\n<span class=\"sr-linkedin\"><a rel=\"nofollow\" href=\"https:\/\/www.linkedin.com\/sharing\/share-offsite\/?url=\" target=\"_blank\"  title=\"Add this to LinkedIn\"  style=\"color: #ffffff\" ><i class=\"fab fa-linkedin-in\"><\/i><\/a><\/span>\n<span class=\"sr-pinterest\"><a rel=\"nofollow\" href=\"https:\/\/www.pinterest.com\/pin\/create\/button\/?url=&amp;media=&amp;description=\" target=\"_blank\"  title=\"Submit this to Pinterest\"  style=\"color: #ffffff\" data-pin-custom=\"true\"><i class=\"fab fa-pinterest\"><\/i><span class=\"ctext\"><span data-wpsrs=\"\" data-wpsrs-svcs=\"pinterest\">0<\/span><\/span><\/a><\/span>\n<span class=\"sr-print\"><a rel=\"nofollow\" href=\"https:\/\/www.printfriendly.com\/print?url=\" target=\"_blank\"  title=\"Print this article \"  style=\"color: #ffffff\" ><i class=\"fa fa-print\"><\/i><\/a><\/span>\n<span class=\"sr-pdf\"><a rel=\"nofollow\" href=\"https:\/\/www.printfriendly.com\/print?url=\" target=\"_blank\"  title=\"Convert to PDF\"  style=\"color: #ffffff\" ><i class=\"fa fa-file-pdf\"><\/i><\/a><\/span><\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>What are CSS3 Animations?<\/p>\n<p>CSS3 animations are quite powerful and many unimaginable animations can be created using CSS3. With a little knowledge of CSS3 one can create simple animations, and an in-depth knowledge of CSS3 can open doors for creating some [&#8230;]<\/p>\n<p><a class=\"more-link article\" href=\"https:\/\/cssdeck.com\/blog\/15-css3-based-loading-animations\/\" title=\"Click to read '15 Awesome CSS3-based Loading Animations'\">Read Article<\/a><\/p>\n","protected":false},"author":18,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[171],"tags":[],"_links":{"self":[{"href":"https:\/\/cssdeck.com\/blog\/wp-json\/wp\/v2\/posts\/3079"}],"collection":[{"href":"https:\/\/cssdeck.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cssdeck.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cssdeck.com\/blog\/wp-json\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/cssdeck.com\/blog\/wp-json\/wp\/v2\/comments?post=3079"}],"version-history":[{"count":0,"href":"https:\/\/cssdeck.com\/blog\/wp-json\/wp\/v2\/posts\/3079\/revisions"}],"wp:attachment":[{"href":"https:\/\/cssdeck.com\/blog\/wp-json\/wp\/v2\/media?parent=3079"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cssdeck.com\/blog\/wp-json\/wp\/v2\/categories?post=3079"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cssdeck.com\/blog\/wp-json\/wp\/v2\/tags?post=3079"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}