A Pen by Eric Berry on CodePen.
Created
September 24, 2014 16:47
-
-
Save coderberry/42dddb870545666eeb26 to your computer and use it in GitHub Desktop.
A Pen by Eric Berry.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="progress-bar"> | |
<div class="progress" style="width: 26%;"></div> | |
<svg id="progress-indicators"> | |
<circle cx="5%" cy="6" r="2" class="before"></circle> | |
<circle cx="10%" cy="6" r="2" class="before"></circle> | |
<circle cx="15%" cy="6" r="2" class="before"></circle> | |
<circle cx="20%" cy="6" r="2" class="before"></circle> | |
<circle cx="25%" cy="6" r="2" class="before"></circle> | |
<circle cx="30%" cy="6" r="2"></circle> | |
<circle cx="35%" cy="6" r="2"></circle> | |
<circle cx="40%" cy="6" r="2"></circle> | |
<circle cx="45%" cy="6" r="2"></circle> | |
<circle cx="50%" cy="6" r="2"></circle> | |
<circle cx="55%" cy="6" r="2"></circle> | |
<circle cx="60%" cy="6" r="2"></circle> | |
<circle cx="65%" cy="6" r="2"></circle> | |
<circle cx="70%" cy="6" r="2"></circle> | |
<circle cx="75%" cy="6" r="2"></circle> | |
<circle cx="80%" cy="6" r="2"></circle> | |
<circle cx="85%" cy="6" r="2"></circle> | |
<circle cx="90%" cy="6" r="2"></circle> | |
<circle cx="95%" cy="6" r="2"></circle> | |
</svg> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.progress-bar { | |
-webkit-background-clip: border-box; | |
-webkit-background-origin: padding-box; | |
-webkit-background-size: auto; | |
-webkit-font-smoothing: antialiased; | |
-webkit-tap-highlight-color: rgba(0, 0, 0, 0); | |
background-attachment: scroll; | |
background-clip: border-box; | |
background-color: rgb(232, 235, 241); | |
background-image: none; | |
background-origin: padding-box; | |
background-size: auto; | |
border-bottom-left-radius: 6px; | |
border-bottom-right-radius: 6px; | |
border-top-left-radius: 6px; | |
border-top-right-radius: 6px; | |
box-sizing: border-box; | |
color: rgb(7, 25, 50); | |
display: block; | |
font-family: Avenir-Webfont, Avenir, 'Droid Sans', DroidSansRegular, Corbel, Tahoma, Geneva, sans-serif; | |
font-size: 16px; | |
height: 12px; | |
letter-spacing: normal; | |
line-height: 24px; | |
width: 750px; | |
word-spacing: 0px; | |
zoom: 1; | |
position: relative; | |
} | |
.progress { | |
-webkit-background-clip: border-box; | |
-webkit-background-origin: padding-box; | |
-webkit-background-size: auto; | |
-webkit-font-smoothing: antialiased; | |
-webkit-tap-highlight-color: rgba(0, 0, 0, 0); | |
-webkit-transition-delay: 0s; | |
-webkit-transition-duration: 0.5s; | |
-webkit-transition-property: width; | |
-webkit-transition-timing-function: ease-in-out; | |
background-attachment: scroll; | |
background-clip: border-box; | |
background-color: rgb(58, 156, 255); | |
background-image: none; | |
background-origin: padding-box; | |
background-size: auto; | |
border-bottom-left-radius: 6px; | |
border-bottom-right-radius: 6px; | |
border-top-left-radius: 6px; | |
border-top-right-radius: 6px; | |
box-sizing: border-box; | |
color: rgb(7, 25, 50); | |
display: block; | |
font-family: Avenir-Webfont, Avenir, 'Droid Sans', DroidSansRegular, Corbel, Tahoma, Geneva, sans-serif; | |
font-size: 16px; | |
height: 12px; | |
letter-spacing: normal; | |
line-height: 24px; | |
transition-delay: 0s; | |
transition-duration: 0.5s; | |
transition-property: width; | |
transition-timing-function: ease-in-out; | |
width: 45px; | |
word-spacing: 0px; | |
zoom: 1; | |
} | |
#progress-indicators { | |
width: 100%; | |
height: 12px; | |
position: absolute; | |
z-index: 1000; | |
top: 0; | |
fill: rgba(7,25,50,0.15); | |
} | |
#progress-indicators .before { | |
fill: rgba(255,255,255,0.4); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment