<分区>
最佳答案
试试这个
HTML:
<div class="shape"></div>
CSS:
.shape{
background: #074b7e;
width: 300px;
height: 150px;
overflow: hidden;
position: relative;
}
.shape:before{
content: '';
width: 150px;
height: 150px;
background: #fff;
position: absolute;
top: 0;
right: -75px;
border-radius: 100%;
}
关于html - 如何制作内边框半径?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39062692/