Skip to content

Instantly share code, notes, and snippets.

@tyv
Created February 22, 2013 12:39
Show Gist options
  • Save tyv/5013145 to your computer and use it in GitHub Desktop.
Save tyv/5013145 to your computer and use it in GitHub Desktop.
Untitled
.p, .b
{
overflow: hidden;
width: 300px;
height: 25px;
background: #ccc;
border-radius: 16px;
}
.b
{
background: blue;
}
.d
{
float: right;
line-height: 25px;
margin-right: 10px;
}
<div class="p">
<div class="d">2%</div>
<div class="b" style="width: 2%;"></div>
</div>
// alert('Hello world!');
{"view":"separate","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment