<style>

.rtop, .rbottom{display:block;}
.rtop *, .rbottom *{display:block; height:1px; overflow:hidden;}

.r1{margin:0 5px; background:#CCCCCC}
.r2{margin:0 3px; border-left:2px solid #CCCCCC; border-right:2px solid #CCCCCC; background:#EEEEEE}
.r3{margin:0 2px; border-left:1px solid #CCCCCC; border-right:1px solid #CCCCCC; background:#EEEEEE}
.r4{margin:0 1px; height:2px; border-left:1px solid #CCCCCC; border-right:1px solid #CCCCCC; background:#EEEEEE}
.box{ margin:0; padding:5px 10px; border-left:#CCCCCC solid 1px; border-right:#CCCCCC solid 1px;  background:#EEEEEE; font-size:12px}
</style>

 

<div id="container" style="background: #fff">
   <b class="rtop">

      <b class="r1"></b>

      <b class="r2"></b>

      <b class="r3"></b>

      <b class="r4"></b>

   </b>
   <div class="box">이미지 없이 라운딩 박스 + 보더 표현하기!</div>
   <b class="rbottom">

      <b class="r4"></b>

      <b class="r3"></b>

      <b class="r2"></b>

      <b class="r1"></b>

   </b>

</div>


Posted by 행복한 프로그래머 궁금쟁이박

댓글을 달아 주세요