不确定是否可以,但是我有一个半透明的盒子,带有圆形的盒子边框有什么方法可以使角与盒子边界匹配吗?Example
.menu {
font-family: roboto;
min-width: 400px;
color: #fff;
background-color: rgba(0, 0, 0, 0.25);
box-shadow : 0px 0px 50px 0px #000;
position: absolute;
}
你是什么意思?实际上,这个问题不是很清楚。也许您的意思是,如何使用border-radius
或如何使拐角更多round?如果是,那么有不错的documentation of Mozilla可能会为您提供帮助,或者也有w3schools reference / tutorial教您如何使用它。