/ Published in: CSS
Cross-browser compatible especially for IE6/7 and makes use of CSS sprites for faster downloading. Download file curves.zip (75 bytes) which contains the CSS sprite needed to make this work.
Expand |
Embed | Plain Text
/* HTML source: <div class="rounded"> <div class="crv_top"><div></div></div> <div class="info">z</div> <div class="crv_btm"><div></div></div> </div> */ .rounded {width:200px; margin:100px auto 0; background:#a7c8dc;} .rounded .crv_top, .rounded .crv_top div, .rounded .crv_btm, .rounded .crv_btm div {height:3px; background:url(curves.gif) 0 0 no-repeat; _font-size:0;} .rounded .crv_top {background-position:right -3px;} .rounded .crv_btm {background-position:right -9px;} .rounded .crv_btm div {background-position:0 -6px;}
You need to login to post a comment.
