Search
 
SCRIPT & CODE EXAMPLE
 

CSS

css animated progress bar

.container__progressbars {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap
    min-width: 270px;
    width: 100%;
    min-height: 100%;
  }
.progressbar {
    position: relative;
    width: 170px;
    height: 170px;
    transform: rotate(-90deg);
}
.progressbar__svg {
    position: relative;
    width: 100%;
    height: 100%;
}
.progressbar__svg-circle {
    width: 100%;
    height: 100%;
    fill: none;
    stroke-width: 10;
    stroke-dasharray: 440;
    stroke-dashoffset: 440;
    stroke: white;
    stroke-linecap: round;
    transform: translate(5px, 5px);
}
.circle-html {
    stroke: #007bff;
    /*Set this for the duration of the animation*/
    animation: anim_circle-html 2s ease-in-out forwards; 
}
.progressbar__text {
    position: absolute;
    top: 50%;
    left: 50%;
    padding: 0.25em 0.5em;
    color: #000; /*Change this to change progressbar text*/
    font-weight: bold;
    border-radius: 0.25em;
    transform: translate(-50%, -50%) rotate(90deg);
}
@keyframes anim_circle-html {
    to {stroke-dashoffset: 0;}
}
Comment

css animated progress bar

<div class="container__progressbars">
    <div class="progressbar">
        <svg class="progressbar__svg">
            <circle cx="80" cy="80" r="70" class="progressbar__svg-circle circle-html"></circle>
        </svg> 
        <span class="progressbar__text">HTML</span>
    </div>
    <!--You can add other progress bars here-->
</div>
Comment

PREVIOUS NEXT
Code Example
Css :: scss color black white 
Css :: Flexbox vs. CSS Grid 
Css :: align links to right css 
Css :: how to get 2 words one left aligh and right align in css 
Css :: asp net css how to change text alignment of gridview column 
Css :: how use befor after for image 
Css :: *{ margin: 0; padding: 0; box-sizing: border-box; } 
Css :: function for style your theme wordpress php 
Css :: css img 
Css :: css last child with class 
Css :: scrollbar 
Css :: how to use flex-shrink in css 
Css :: html css templates for practice 
Css :: css display flex white-space: nowrap; 
Css :: text-align attribute in css 
Css :: focus on input change label color 
Css :: css max width substruction 
Css :: css make background image repeat vertically 
Css :: add space inbetween words of text 
Css :: exclude html content when print 
Css :: set custom cursor 
Css :: reset css simples 
Css :: why is there whitespace on the top 
Css :: css pagedList 
Css :: css hex to rgb 
Css :: Vuetify v-data-table custom row hover background color (Dark Theme) 
Css :: min function css 
Css :: what happens when the width is 0 and there is a border and box-sizing is set to border-box? 
Css :: set another font in css 
Css :: pading 
ADD CONTENT
Topic
Content
Source link
Name
5+9 =