エッジをフェードさせたり、画像をトリミングしたりせずに、CSS3 を使用して画像を適切にぼかすにはどうすればよいでしょうか?
緑色の BG が表示される問題:
HTML:
<div id="bg_img" classid="blink_me"></div>
CSS:
/*regular way of doing it*/
body{
background-color: #0F0;
margin: 0;
padding: 0;
}
#bg_img{
filter: blur(50px); /*Set amount of blur, px units are bad when re-scaling the window size */
-webkit-filter: blur(50px); /*Set amount of blur, px units are bad when re-scaling the window size */
position:absolute;
width: 100%;
height: 100%;
background-image: url(http://www.patan77.com/wallpaper/3d_cube_explosion_patan77.jpg); /*background image*/
background-repeat:no-repeat;
background-size: cover;
background-position: center center;
}