正如你所看到的是在鏈接中給出的頁面頂部的兩個圖像模糊一個是背景圖像和一個是它上面的圖像都是模糊我想要的是模糊背景圖像只有不頂一個我不知道如何做到這一點,請幫助這裏是鏈接http://www.node.au.com/projects/at38/只有模糊背景圖像
這裏是我的CSS
#work-gallery
{
background-repeat:no-repeat;
background-size:cover;
-webkit-filter: blur(5px);
}
這就是我不上圖像的HTML想模糊
<div id="slideshow" style="margin-top: 17.5px;">
<ul id="fdgSlides" style="width: 1275px; height: 425px; left: 0px;">
<li class="fdgSlide" style="width: 1275px;">
<img src="node.au.com/wp-content/uploads/thumb_at38_01.jpg"; alt="" style="width: auto; height: 100%; margin-top: -212.5px;">
</li>
</ul>
</div>
一個解決方案,但我只有css文件我沒有html文件,請給我avaialble HTML結構 –
@KashifWaheed的解決方案:你必須做出一些黑客用一個':after'僞元素。 – Blender
這裏是頂部圖片的html
\t- \t \t \t \t \t \t \t