日韩av黄I国产麻豆传媒I国产91av视频在线观看I日韩一区二区三区在线看I美女国产在线I麻豆视频国产在线观看I成人黄色短片

歡迎訪問(wèn) 生活随笔!

生活随笔

當(dāng)前位置: 首頁(yè) >

20.毛玻璃效果blur

發(fā)布時(shí)間:2024/4/17 49 豆豆
生活随笔 收集整理的這篇文章主要介紹了 20.毛玻璃效果blur 小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

效果圖

DOM

<main><blockquote>"Before downloading, be sure to have a code editor (we recommend Sublime Text 2) and some working knowledge of HTML and CSS. We won't walk through the source files here, but they are available for download. We'll focus on getting started with the compiled Bootstrap files."<footer><cite>XXXXXXXXXXXXXXXXXXXX</cite></footer></blockquote></main>

CSS

body,main::before{/*自行備圖一張*/background: url(img/bg-2.jpg) no-repeat;background-size: 700px 400px;background-attachment: fixed;background-position: top; } main{border-radius: 10px;color: white;width: 500px;height: 300px;margin: 0 auto;/*border: 1px solid #eee;*/display: flex;justify-content: center;align-items: center;position: relative;background: hsla(0,0%,100%,.3);overflow: hidden; } main::before{border-radius: 10px;content: '';position: absolute;left: 0;right: 0;top: 0;bottom: 0;/*關(guān)鍵代碼*/filter: blur(20px);z-index: -1;margin: -30px; }

?

轉(zhuǎn)載于:https://www.cnblogs.com/famLiu/p/7232855.html

總結(jié)

以上是生活随笔為你收集整理的20.毛玻璃效果blur的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。

如果覺(jué)得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。