Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- body {
- font:2em arial;
- }
- .progress {
- overflow:hidden;
- box-shadow:inset 0 2px 7px 1px rgba(0,0,0,.2);
- }
- .progress:after {
- position:relative;
- z-index:-1;
- left:inherit;
- display:block;
- content:".";
- width:100%;
- text-indent:-9999px;
- margin-left:-100%;
- background:#f00;
- }
- .progress:before {
- position: absolute;
- width:100%;
- margin-top:-1.15em;
- text-indent:100%;
- text-align:center;
- content: attr(style);
- }
Add Comment
Please, Sign In to add comment