0
我爲肉桂創建主題(對於我),我想要在肉桂面板上獲得模糊效果,但我不知道該怎麼做。我知道如何讓這個模糊:模糊無背景圖片
.moreblur {
position: fixed;
left: 0;
right: 0;
z-index: 1;
display: block;
background-image: url(http://www.yosemitehikes.com/images/wallpaper/yosemitehikes.com-valley-winter-1366x768.jpg);
width: 1200px;
height: 800px;
-webkit-filter: blur(10px);
-moz-filter: blur(10px);
-o-filter: blur(10px);
-ms-filter: blur(10px);
filter: blur(10px);
}
<div class="moreblur"></div>
但要記住:我需要得到背景圖片,而不是自己的圖像模糊。 謝謝。
使用不透明度:0.3(任意值)在.moreblur類。 – San
你需要告訴我們你有什麼代碼...不是你沒有的。 –
複製 - http://stackoverflow.com/questions/20039765/how-to-apply-a-css-3-blur-filter-to-a-background-image –