Skip to content

Instantly share code, notes, and snippets.

@GreLI
Created May 14, 2014 12:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GreLI/41472d4da921b1a02140 to your computer and use it in GitHub Desktop.
Save GreLI/41472d4da921b1a02140 to your computer and use it in GitHub Desktop.
Untitled
.scale,
.meter {
height: 15px
}
.scale {
width: 501px;
background: repeating-linear-gradient(90deg, transparent, transparent 3px, white 3px, white 6px) #CCC;
}
.meter {
width: 75%;
display: inline-block;
vertical-align: top;
background:
repeating-linear-gradient(90deg, transparent, transparent 3px, white 3px, white 6px),
linear-gradient(90deg, orange, green 250px, blue 501px);
}
<div class="scale">
<div class="meter"></div>
</div>
// alert('Hello world!');
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"css"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment