css_시크릿01

반투명 경계선

by Kim Ara

HTML

<div class="cbox">
  <div class="cont">안뇽</div>  
</div>

CSS

.cbox{width:500px;height:500px;background:#ddd}
.cont{width:200px;height:200px;margin:0 auto;
border:10px solid hsla(0,0%,100%,.5);
background:#fff;
background-clip:padding-box}