답변 2개 / 댓글 2개
채택된 답변
+20 포인트

<style>
.circle {
position:absolute; width:20px; height:20px; border-radius:20px; background:#222;
}
.circle1 { left:-10px; top:-10px; }
.circle2 { right:-10px; top:-10px; }
.circle3 { left:-10px; bottom:-10px; }
.circle4 { right:-10px; bottom:-10px; }
</style>
<div style="position:relative; width:200px; height:100px; border:2px solid #222; overflow:hidden;">
<div class="circle circle1"></div>
<div class="circle circle2"></div>
<div class="circle circle3"></div>
<div class="circle circle4"></div>
</div>
답변을 작성하려면 로그인이 필요합니다.
