2020-02-11 代码片段►CSS CSS3实现毛玻璃效果 1234567891011121314151617181920212223body { background: url(xxxxxx.jpg);}.content: { position: relative; overflow: hidden; ....}.content::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; right: 0; z-index: -1; background: url(xxxxx.jpg); background-repeat: no-repeat; background-size: auto; background-attachment: fixed; filter: blur(4px); margin: -30px;} 利用css3 filter属性级background相关属性实现 前一篇 关于将es6 mjs格式模块放在服务器端无法被请求的解决方案 后一篇 JS命名规范示例