Last active
March 24, 2016 03:42
-
-
Save SIRHAMY/3081d3e3920f46ad4c27 to your computer and use it in GitHub Desktop.
Sample bits of a custom striped Twitter Bootstrap progress bar
This file contains hidden or 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
Sample code for a striped Twitter Bootstrap progressbar with stripes | |
See the codepen at: http://codepen.io/SIRHAMY/pen/zqwEwv |
This file contains hidden or 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-custom { | |
background-color: #497ad6; | |
} | |
.progress-bar-striped-custom { | |
background-image: linear-gradient(-45deg,#d2524e 25%,transparent 25%,transparent 50%,#d2524e 50%,#d2524e 75%,transparent 75%,transparent); | |
background-size: 60px 60px;} | |
} |
This file contains hidden or 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 id="progressbar" | |
class="progress-bar progress-bar-custom | |
progress-bar-striped-custom" | |
role="progressbar" | |
aria-valuenow="70" aria-valuemin="0" | |
aria-valuemax="100" style="width: 70%;"> | |
Progress Bar Text | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment