Created
July 12, 2017 09:53
-
-
Save loretoparisi/c436e4ae5c5fc6c4ea764c561912fe6b to your computer and use it in GitHub Desktop.
MiniBar - a handy minimalist progress bar
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
<style> | |
.miniBarProgress { | |
background-color: #8a898a; | |
height: 100%; | |
position: absolute; | |
top: 0rem; | |
left: 0rem; | |
} | |
.miniBar { | |
height: 0.5rem; | |
border: 1px solid #8a898a; | |
position: relative; | |
width: -webkit-calc(100% - 2rem); | |
width: -moz-calc(100% - 2rem); | |
width: calc(100% - 2rem); | |
margin-right: 0.5rem; | |
} | |
</style> | |
<div class="miniBar"><div class="miniBarProgress" style="width: 50%;"></div></div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment