파란색 상자에서 회색 부분을 자르는 방법을 알아야합니다.오버 플로우 div를 자르는 방법
나는 파란색 상자에서 절단하고 싶은 부분 이미지를 넣고 쇼에 빨간색 화살표. 이 코드 나는이된다
.father {
height: 400px;
width: 400px;
margin: 150px auto;
position: relative;
}
.border {
position: relative;
bottom: 50px;
margin: auto;
border-radius: 50%;
width: 96%;
height: 30%;
background-color: #DDD;
}
\t
<div class="father">
<div class="border"></div>
</div>
파란색 상자가 ? –