具有不透明背景的Css框阴影匹配

问题描述 投票:0回答:1

不确定是否可以,但是我有一个半透明的盒子,带有圆形的盒子边框有什么方法可以使角与盒子边界匹配吗?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;
}
css box-shadow
1个回答
0
投票

你是什么意思?实际上,这个问题不是很清楚。也许您的意思是,如何使用border-radius或如何使拐角更多round?如果是,那么有不错的documentation of Mozilla可能会为您提供帮助,或者也有w3schools reference / tutorial教您如何使用它。

© www.soinside.com 2019 - 2024. All rights reserved.