Create a Circular Progress Bar using HTML and CSS Last Updated : 30 Jan, 2024 Comments Improve Suggest changes Like Article Like Report A circular progress bar is a visual representation that shows the progress of a task or operation in a circular form. It's a straightforward and useful way to represent progress and can enhance the appearance of your application or website. So, we will design a circular progress bar using HTML and CSS. By using HTML, we will design the different components for that progress bar, and then by using the properties of CSS, we can style the progress bar. Preview:Approach:Create a centered container in CSS using properties like 'position: absolute;, 'text-align: center;', and 'transform: translate(-50%, -50%);'. Design circular progress bars by defining a class 'ui-widgets' with dimensions, border-radius, and box-shadow, adjusting border colors. Duplicate this structure for each progress bar, customizing values and labels. Style values and labels within the bars using classes like `ui-values` and `ui-labels`, adjusting font size, position, and colors. Easily adapt by modifying values and labels for each progress bar, offering a visually appealing and customizable design for different tasks or skills.Example: In this article, we will design the citculat progress bar using HTML and CSS . 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"> <!-- Set title of web page --> <title>GFG Circular progress Bar</title> <style> /* Apply css properties to h1 element */ h1 { text-align: center; } /* Create a container using CSS properties */ .container { top: 30%; left: 50%; position: absolute; text-align: center; transform: translate(-50%, -50%); } /* Apply CSS properties to ui-widgets class */ .ui-widgets { position: relative; display: inline-block; width: 10rem; height: 10rem; border-radius: 9rem; margin: 1.5rem; border: 1.2rem solid palegreen; box-shadow: inset 0 0 7px grey; border-left-color: palegreen; border-top-color: chartreuse; border-right-color: darkgreen; border-bottom-color: white; text-align: center; box-sizing: border-box; } /* Apply css properties to the second child of ui-widgets class */ .ui-widgets:nth-child(2) { border-top-color: chartreuse; border-right-color: white; border-left-color: palegreen; border-bottom-color: white; } /* Apply css properties to ui-widgets class and ui-values class*/ .ui-widgets .ui-values { top: 40px; position: absolute; left: 10px; right: 0; font-weight: 700; font-size: 2.0rem; } /* Apply css properties to ui-widgets class and ui-labels class*/ .ui-widgets .ui-labels { left: 0; bottom: -16px; text-shadow: 0 0 4px grey; color: black; position: absolute; width: 100%; font-size: 16px; } </style> </head> <body> <!-- Add heading of the page --> <h1>GeeksforGeeks Circular Progress Bar</h1> <!-- Creating of a container class that store other useful classes --> <div class="container"> <!-- Creating a ui-widgets classes that store other useful classes like ui-values and ui-labels --> <div class="ui-widgets"> <div class="ui-values">85%</div> <div class="ui-labels">Java</div> </div> <div class="ui-widgets"> <div class="ui-values">50%</div> <div class="ui-labels">HTML</div> </div> </div> </body> </html> Output: Comment More infoAdvertise with us Next Article Create a Circular Progress Bar using HTML and CSS R riyamathur Follow Improve Article Tags : Web Technologies Web Templates CSS-Questions Similar Reads How to create a progress bar using HTML and CSS? The progress bar is an important element in the web, the progress bar can be used for downloading, marks obtained, skill measuring unit, etc. To create a progress bar we can use HTML and CSS. To make that progress bar responsive you will need JavaScript.In this article, we will learn to create progr 1 min read How to create circular progress bar using SVG ? In this article, we will learn how to create a circular progress bar using SVG. Let us begin with the HTML part. In the SVG circle, the cx and cy attributes define the x and y coordinates of the circle. If cx and cy are not taken to the circle's center, it is set to (0,0). The r attribute defines th 3 min read How to create a progress bar animation using HTML and CSS ? In this mini Web Development project we will utilize CSS animations and create a progress bar using them. The progress bar will start from zero and go to a certain extent as we want. The progress bar is basically showing the expertise of a programmer in different languages in animated form. Prerequi 3 min read How to Create a Progress Bar using HTML? To create the progress bar of a task by using a <progress> tag. It is used to represent the progress of a task. It is also defined as how much work is done and how much is left. It is not used to represent the disk space or relevant query. Syntax:<progress attributes...> </progress 2 min read How to Set Color of Progress Bar using HTML and CSS ? The progress bar is an important element on the web, the progress bar can be used for downloading, marks obtained, skill measuring units, etc. To create a progress bar we can use HTML and CSS. The progress bar is used to represent the progress of a task. It also defines how much work is done and ho 2 min read How to create a progress bar using bootstrap ? Bootstrap is an open-source framework used to design responsive websites which are easy and efficient to use. It has ready-made templates which can be used to design web pages in a limited time.What is a progress bar?A progress bar is used whenever there is a need for a visual interface to show prog 4 min read How to create a Pie Chart using HTML & CSS ? A Pie Chart is a type of graph that displays data in a circular shape and is generally used to show percentage or proportional data. The percentage represented in the graph by each category is provided near the corresponding slice of one portion of the pie chart. These charts are very good for displ 2 min read How to create a Circular/Rounded images using CSS ? In this article, we will create a rounded image with CSS. It can be done by using the CSS border-radius property. This property is mainly used to make round shapes. It contains a numeric value in the form of pixels. Example 1: HTML <!DOCTYPE html> <html> <head> <style> img { 1 min read Create Progress Bar Component using React and Tailwind CSS A progress bar is a visual representation of progress in a process. It is commonly used in web applications to indicate the completion status of an operation. In this article, we will learn how to create a progress bar component in React using Tailwind CSS for styling.PrerequisitesJavaScriptReactTai 2 min read How to Create a Dot loading Animation using HTML and CSS? The Dot Loading animation can be used to enhance the user interface of a website, it can be added while the website loads. This animation can be easily created using HTML and CSS. HTML Code: In this section we will create the basic structure of the dot loader using a div tag which will have some spa 2 min read Like