/ Published in: CSS
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<div id=â€containerâ€> <b class=â€rtopâ€> <b class=â€r1″></b> <b class=â€r2″></b> <b class=â€r3″></b> <b class=â€r4″></b> </b> <!–content goes here –> <b class=â€rbottomâ€> <b class=â€r4″></b> <b class=â€r3″></b> <b class=â€r2″></b> <b class=â€r1″></b> </b> </div> .rtop, .rbottom{display:block} .rtop *, .rbottom *{display: block; height: 1px; overflow: hidden} .r1{margin: 0 5px} .r2{margin: 0 3px} .r3{margin: 0 2px} .r4{margin: 0 1px; height: 2px}