css _시크릿02

다중경계선

by Kim Ara

HTML

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

<div class="cbox01">
  <div class="cont01">안뇽</div>  
</div>

CSS

.cont{margin:5%;width:200px;height:200px;
background:yellowgreen;
box-shadow:0 0 0 10px #655, 0 0 0 15px deeppink, 0 2px 5px 15px rgba(0,0,0,.6)}

.cont01{margin:5%;width:200px;height:200px;
background:deeppink;
border:5px dashed #fff; 
outline:15px solid deeppink;}