CSS毛玻璃特效

取自https://glassgenerator.netlify.app/#


<div class="glass-container" id="glass"></div>



.glass-container{
    width: 700px;
    height: 375px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    border-radius: 21px;
    backdrop-filter: blur(5px);
    background-color: rgba(255,102,0, 0.181);
    box-shadow: rgba(0, 0, 0, 0.3) 2px 8px 8px;
    border: 1px rgba(255,255,255,0.4) solid;
    border-bottom: 1px rgba(40,40,40,0.35) solid;
    border-right: 1px rgba(40,40,40,0.35) solid;
}

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注