Search
 
SCRIPT & CODE EXAMPLE
 

CSS

html css circle progress bar

.wrapper {
  width: 100px; /* Set the size of the progress bar */
  height: 100px;
  position: absolute; /* Enable clipping */
  clip: rect(0px, 100px, 100px, 50px); /* Hide half of the progress bar */
}
/* Set the sizes of the elements that make up the progress bar */
.circle {
  width: 80px;
  height: 80px;
  border: 10px solid green;
  border-radius: 50px;
  position: absolute;
  clip: rect(0px, 50px, 100px, 0px);
}
/* Using the data attributes for the animation selectors. */
/* Base settings for all animated elements */
div[data-anim~=base] {
  -webkit-animation-iteration-count: 1;  /* Only run once */
  -webkit-animation-fill-mode: forwards; /* Hold the last keyframe */
  -webkit-animation-timing-function:linear; /* Linear animation */
}

.wrapper[data-anim~=wrapper] {
  -webkit-animation-duration: 0.01s; /* Complete keyframes asap */
  -webkit-animation-delay: 3s; /* Wait half of the animation */
  -webkit-animation-name: close-wrapper; /* Keyframes name */
}

.circle[data-anim~=left] {
  -webkit-animation-duration: 6s; /* Full animation time */
  -webkit-animation-name: left-spin;
}

.circle[data-anim~=right] {
  -webkit-animation-duration: 3s; /* Half animation time */
  -webkit-animation-name: right-spin;
}
/* Rotate the right side of the progress bar from 0 to 180 degrees */
@-webkit-keyframes right-spin {
  from {
    -webkit-transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(180deg);
  }
}
/* Rotate the left side of the progress bar from 0 to 360 degrees */
@-webkit-keyframes left-spin {
  from {
    -webkit-transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
  }
}
/* Set the wrapper clip to auto, effectively removing the clip */
@-webkit-keyframes close-wrapper {
  to {
    clip: rect(auto, auto, auto, auto);
  }
}
<div class="wrapper" data-anim="base wrapper">
  <div class="circle" data-anim="base left"></div>
  <div class="circle" data-anim="base right"></div>
</div>
Comment

circle progress-bar

<div class="container">
    <div class="container__progressbars">
        <div class="progressbar">
            <svg class="progressbar__svg">
                <circle cx="80" cy="80" r="70" class="progressbar__svg-circle circle-html shadow-html"> </circle>
            </svg>
            <span class="progressbar__text shadow-html">HTML</span>
       </div>
   </div>
</div>
Comment

circle progress bar css

.circle-wrap .circle .mask,
.circle-wrap .circle .fill {
  width: 150px;
  height: 150px;
  position: absolute;
  border-radius: 50%;
}

.mask .fill {
  clip: rect(0px, 75px, 150px, 0px);
  background-color: #227ded;
}
Comment

PREVIOUS NEXT
Code Example
Css :: css button type 
Css :: button hover animation css codepen 
Css :: initialize toast 
Css :: css grid tutorial 
Css :: gradient 
Css :: css inherit class 
Css :: @page css 
Css :: text in one line css 
Css :: css perfekt min width mobile 
Css :: margin and padding setting for standard as usual website 
Css :: Reference WP media file on child theme CSS file 
Css :: set div tomiddle css 
Css :: css animation timing syntax 
Css :: footer for front end developer 
Css :: truncate long line with dots 
Css :: css backdrop filter grayscale 
Css :: css change browser color 
Css :: what is default value for justify-content in react mui 
Css :: how to take of underline from link through css 
Css :: curfont 
Css :: how to make sure your css files are connected on ruby on rails 
Css :: const Schema 
Css :: CSS - The Descendant Selectors 
Css :: padding 2 values how would be they applied 
Css :: Add an animation class to the element you want animated 
Css :: how to use css print page break with float 
Css :: #f7fafc 
Css :: winnat port already in use ERROR 
Css :: full calendar custom css 
Css :: use clamp in scss 
ADD CONTENT
Topic
Content
Source link
Name
2+1 =