<div class="foot"> <!-- 兩端對齊 --> <div class="foot-conter"></div> </div>
.foot{ position: fixed; bottom: 0; width: 100%; height: 250rpx; border-radius: 50% 50% 0 0/100% 100% 0 0; background: rgba(0,0,0,0.5); border: 1px solid #18b3cd; } .foot-conter{ position:absolute; height: 200rpx; width: 200rpx; left:50%; margin-left: -100rpx; border-radius: 200rpx; background-color: #373737; border: 1px solid #18b3cd; }