backdrop-filter与弹框毛玻璃效果实例页面
展示
代码
-
HTML:
<button id="button" class="ui-button" data-type="primary">点击我出现弹框</button>
-
CSS:
dialog { -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
<button id="button" class="ui-button" data-type="primary">点击我出现弹框</button>
dialog { -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }