How to Animate Bullets in Lists using CSS ? Last Updated : 02 Sep, 2022 Summarize Comments Improve Suggest changes Share Like Article Like Report In this article, we will see how to animate bullet lists using CSS properties. First, we will create a bullet list using <ol> (or <ul>) and <li> and then we will apply some CSS properties to animate the lists. We will create an animation to increase the bullet point size and also set the animation time. After that, we will add an animation-delay property for each list of elements to display the animation effect. Example 1: In this example, we will create five unordered list elements, and then apply the animation and animation-delay properties on each element to animate the bullet points. HTML <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content= "width=device-width, initial-scale=1.0"> <title> How to Animate Bullets in Lists using CSS ? </title> <style> h1 { color: green; } ul li { list-style: square; } ul li::marker { animation-name: GFG; animation-duration: 0.5s; animation-fill-mode: forwards; } ul li:nth-child(1)::marker { animation-delay: 0; } ul li:nth-child(2)::marker { animation-delay: 0.5s; } ul li:nth-child(3)::marker { animation-delay: 1.0s; } ul li:nth-child(4)::marker { animation-delay: 1.5s; } ul li:nth-child(5)::marker { animation-delay: 2.0s; } @keyframes GFG { from { font-size: 12px; } to { font-size: 30px; color: green; } } </style> </head> <body> <h1>GeeksforGeeks</h1> <h3> How to Animate Bullets in Lists using CSS ? </h3> <ul> <li>HTML</li> <li>CSS</li> <li>JavaScript</li> <li>PHP</li> <li>Angular.js</li> </ul> </body> </html> Output: Example 2: In this example, we will create 5 ordered list elements, and then apply the animation and animation-delay properties on each element to animate the bullet points. HTML <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content= "width=device-width, initial-scale=1.0"> <title> How to Animate Bullets in Lists using CSS ? </title> <style> h1 { color: green; } ol li::marker { animation-name: GFG; animation-duration: 0.5s; animation-fill-mode: forwards; } ol li:nth-child(1)::marker { animation-delay: 0; } ol li:nth-child(2)::marker { animation-delay: 0.5s; } ol li:nth-child(3)::marker { animation-delay: 1.0s; } ol li:nth-child(4)::marker { animation-delay: 1.5s; } ol li:nth-child(5)::marker { animation-delay: 2.0s; } @keyframes GFG { from { font-size: 12px; } to { font-size: 30px; color: green; } } </style> </head> <body> <h1>GeeksforGeeks</h1> <h3> How to Animate Bullets in Lists using CSS ? </h3> <ol> <li>HTML</li> <li>CSS</li> <li>JavaScript</li> <li>PHP</li> <li>Angular.js</li> </ol> </body> </html> Output: Comment More infoAdvertise with us Next Article How to set Bullet colors in HTML Lists using only CSS? V vkash8574 Follow Improve Article Tags : Web Technologies CSS CSS-Questions Similar Reads How to decorate list bullets in arrow using CSS ? Given a list of items and the task is to customize the bullet style of the list and replace it with the arrow. Method 1: By Unicode Character First, we will turn off the default bullet style of the list. Then We will insert Unicode of the arrow character in the content property in the "li::before" s 2 min read How to Create Animated Loading Button using CSS? An animated loading button provides a visual cue during processing, often featuring a spinner or pulsing effect. To create one using CSS, style a button element, include a spinner inside, and use CSS animations (like keyframes) to animate the spinner on button activation.Table of ContentUsing Font A 3 min read How to create Animated Blur Navbar using CSS? The Navbar is the main component of any website through which the user can navigate through all the components and sections of a site. That's why it is really important to have a well-designed navigation bar or menu. So today we will be looking at a navbar in which all the elements get blur except t 2 min read How to set Bullet colors in HTML Lists using only CSS? In HTML, unordered lists (<ul>) typically use default bullet styles, which inherit the text color of the list items. Sometimes, you may want to change the color of the bullets themselves. Although CSS does not provide a direct way to style the default bullets, there is a workaround. By removin 3 min read How to Create Animation Loading Bar using CSS ? Loading Bar with animation can be created using HTML and CSS. We will create a Loader that is the part of an operating system that is responsible for loading programs and libraries. The progress bar is a graphical control element used to visualize the progression of an extended computer operation, s 3 min read How to create Animated bars using HTML and CSS? Dancing bars are one of the classical components that are used in making a good looking website. They are very simple to implement and can be used as a loader or an animation while recording sound. Approach: The approach is to use unordered list to create bars and then animate them using keyframes. 2 min read Like