How to Create Loading Blur Text Animation Effect using HTML and CSS? Last Updated : 25 Sep, 2024 Summarize Comments Improve Suggest changes Share Like Article Like Report The blur text animation is known as the Smoky effect and is used to give the text a blurry animation. The text blurs linearly in one direction and then reappears. In this article, we will create a loading blur text animation effect using HTML and CSS.Approach: The approach to create loading blur text animation is quite simple. We are animating the blur effect using the blur() function. Then we are using n-th child selector to select and apply the animation delay.HTML CodeWe have created a div element and the loading text characters are wrapped inside a span element. HTML <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content= "width=device-width, initial-scale=1.0" /> <title>GeeksforGeeks</title> </head> <body> <div class="geeks"> <span>G</span> <span>e</span> <span>e</span> <span>k</span> <span>s</span> <span>f</span> <span>o</span> <span>r</span> <span>G</span> <span>e</span> <span>e</span> <span>k</span> <span>s</span> </div> </body> </html> CSS CodeThe first step is simple we have aligned our text to center and provide a background to our body.Then we have provided a linear animation with keyframe identifier as animate.Now we use keyframes to apply blur function to different frames of the animation.The final step is the application of n-th child concept to provide an animation delay to each character so that only one character gets blurred at one point of time. CSS body { margin: 0; padding: 0; background: green; } .geeks { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 30px; font-weight: 800; letter-spacing: 5px; } .geeks span { animation: animate 3s linear infinite; } .geeks span:nth-child(1) { animation-delay: 0s; } .geeks span:nth-child(2) { animation-delay: 0.1s; } .geeks span:nth-child(3) { animation-delay: 0.2s; } .geeks span:nth-child(4) { animation-delay: 0.3s; } .geeks span:nth-child(5) { animation-delay: 0.4s; } .geeks span:nth-child(6) { animation-delay: 0.5s; } .geeks span:nth-child(7) { animation-delay: 0.6s; } .geeks span:nth-child(8) { animation-delay: 0.9s; } .geeks span:nth-child(9) { animation-delay: 0.8s; } .geeks span:nth-child(10) { animation-delay: 0.9s; } .geeks span:nth-child(11) { animation-delay: 1s; } .geeks span:nth-child(12) { animation-delay: 1.1s; } .geeks span:nth-child(13) { animation-delay: 1.2s; } @keyframes animate { 0% { filter: blur(0); } 40% { filter: blur(20px); } 80% { filter: blur(0); } 100% { filter: blur(0); } } Complete CodeIn this section, we will combine both the above two code sections to create a loading text animation effect. HTML <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content= "width=device-width, initial-scale=1.0" /> <title> Loading Blur Text Animation Effect using HTML and CSS </title> <style> body { margin: 0; padding: 0; background: green; } .geeks { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 30px; font-weight: 800; letter-spacing: 5px; } .geeks span { animation: animate 3s linear infinite; } .geeks span:nth-child(1) { animation-delay: 0s; } .geeks span:nth-child(2) { animation-delay: 0.1s; } .geeks span:nth-child(3) { animation-delay: 0.2s; } .geeks span:nth-child(4) { animation-delay: 0.3s; } .geeks span:nth-child(5) { animation-delay: 0.4s; } .geeks span:nth-child(6) { animation-delay: 0.5s; } .geeks span:nth-child(7) { animation-delay: 0.6s; } .geeks span:nth-child(8) { animation-delay: 0.9s; } .geeks span:nth-child(9) { animation-delay: 0.8s; } .geeks span:nth-child(10) { animation-delay: 0.9s; } .geeks span:nth-child(11) { animation-delay: 1s; } .geeks span:nth-child(12) { animation-delay: 1.1s; } .geeks span:nth-child(13) { animation-delay: 1.2s; } @keyframes animate { 0% { filter: blur(0); } 40% { filter: blur(20px); } 80% { filter: blur(0); } 100% { filter: blur(0); } } </style> </head> <body> <div class="geeks"> <span>G</span> <span>e</span> <span>e</span> <span>k</span> <span>s</span> <span>f</span> <span>o</span> <span>r</span> <span>G</span> <span>e</span> <span>e</span> <span>k</span> <span>s</span> </div> </body> </html> Output: Comment More infoAdvertise with us S sirohimukul1999 Follow Improve Article Tags : HTML Similar Reads HTML Tutorial HTML stands for HyperText Markup Language. It is the standard language used to create and structure content on the web. It tells the web browser how to display text, links, images, and other forms of multimedia on a webpage. HTML sets up the basic structure of a website, and then CSS and JavaScript 11 min read HTML Interview Questions and Answers HTML (HyperText Markup Language) is the foundational language for creating web pages and web applications. Whether you're a fresher or an experienced professional, preparing for an HTML interview requires a solid understanding of both basic and advanced concepts. Below is a curated list of 50+ HTML 14 min read Top 10 Projects For Beginners To Practice HTML and CSS Skills Learning to code is an exciting journey, especially when stepping into the world of programming with HTML and CSSâthe foundation of every website you see today. For most beginners, these two building blocks are the perfect starting point to explore the creative side of web development, designing vis 8 min read HTML Introduction HTML stands for Hyper Text Markup Language, which is the core language used to structure content on the web. It organizes text, images, links, and media using tags and elements that browsers can interpret. As of 2025, over 95% of websites rely on HTML alongside CSS and JavaScript, making it a fundam 6 min read HTML Tags - A to Z List HTML Tags are fundamental elements used to structure and format content on web pages. They provide instructions to web browsers on how to render text, images, links, and other media.HTML tags are enclosed in angle brackets < > and usually come in pairs: an opening tag and a closing tag. The cl 15+ min read 30+ Web Development Projects with Source Code [2025] Web development is one of the most in-demand career paths in the IT industry, experiencing consistent growth of around 20â25% annually. Whether you're a student starting out or an experienced professional looking to switch or advance your career, it's essential to go beyond theory and demonstrate yo 4 min read Frontend Developer Interview Questions and Answers Frontend development is an important part of web applications, and it is used to build dynamic and user-friendly web applications with an interactive user interface (UI). Many companies are hiring skilled Frontend developers with expertise in HTML, CSS, JavaScript, and modern frameworks and librarie 15+ min read HTML DOCTYPE Declaration HTML DOCTYPE (Document Type Declaration) is an instruction that appears at the beginning of an HTML document, before the <html> tag.Its primary role is to tell the web browser which version of HTML the page is written in, ensuring that the browser renders the content correctly. It is not an HT 4 min read HTML Forms HTML forms, defined using the <form> Tags are essential for collecting user input on web pages. They incorporate a variety of interactive controls such as text fields, numeric inputs, email fields, password fields, checkboxes, radio buttons, and submit buttons. Over 85% of websites rely on for 5 min read HTML Tables HTML (HyperText Markup Language) is the standard markup language used to create and structure web pages. It defines the layout of a webpage using elements and tags, allowing for the display of text, images, links, and multimedia content. As the foundation of nearly all websites, HTML is used in over 10 min read Like