我似乎无法摆脱这个圆圈上半部分的薄白色轮廓.关于如何修复它的任何想法? JSFiddle演示
body {
background-color: black;
padding:50px;
}
.square {
background-color: white;
margin-bottom: 20px;
height: 200px;
width: 200px;
overflow: hidden;
}
.halfSquare {
background-color: #462a04;
height: 100px;
width: 200px;
}
.circle {
background-color: white;
height: 200px;
width: 200px;
border-radius: 50%;
overflow: hidden;
}
.halfCircle {
background-color: #462a04;
height: 100px;
width: 200px;
}Run Code Online (Sandbox Code Playgroud)
<body>
<div class="square"><div class="halfSquare"></div></div>
<div class="circle"><div class="halfCircle"></div></div>
</body>Run Code Online (Sandbox Code Playgroud)