css _시크릿03
안쪽 둥근 모서리
by Kim Ara
HTML
<div class="box01">
<div>
안녕하세요.
</div>
</div>
<div class="box02">
<div>
안녕하세요.
</div>
</div>
CSS
.box01{margin:5%;width:200px;height:50px;
background:#655;padding:.8em;}
.box01 > div{background:tan;border-radius:.8em;padding:1em}
.box02{margin:5%;width:200px;height:50px;
background:tan;border-radius:.8em;padding:1em;
box-shadow:0 0 0 .6em #655;outline:.6em solid #655}