作者:袁冠芳彦源 | 来源:互联网 | 2022-10-14 18:00
我想在悬停时翻转半圆。
.main {
border: 2px solid green;
border-radius: 190px;
height: 200px;
width: 200px;
}
.btm {
border-bottom-left-radius: 190px;
border-bottom-right-radius: 190px;
background-color: red;
height: 100px;
}
上面的代码圆的底部是红色,我想要的只是我想在悬停时使圆的顶部为红色。
任何帮助将不胜感激。