相关疑难解决方法(0)

如何从模糊背景图像中删除白色边框

如何从背景图像中删除白色模糊边框.

<div class="background-image"></div> 
Run Code Online (Sandbox Code Playgroud)

CSS,我尝试添加保证金:-10px,但它不起作用

.background-image {
  background: no-repeat center center fixed; 
   background-image: url('http://www.hdpaperz.com/wallpaper/original/windows-8-wallpapers-2560x1600-2311_1.jpg') ; 
  background-size: cover;
  display: block;
  height: 100%;
  left: -5px;
  top:-5px;
  bottom:-5px;
  position: fixed;
  right: -5px;
  z-index: 1;
  margin:0px auto;
  -webkit-filter: blur(5px);
  -moz-filter: blur(5px);
  -o-filter: blur(5px);
  -ms-filter: blur(5px);
  filter: blur(5px);
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;

 }
Run Code Online (Sandbox Code Playgroud)

http://jsfiddle.net/maio/8wq132nd/1/

html css html5 blur css3

15
推荐指数
4
解决办法
2万
查看次数

标签 统计

blur ×1

css ×1

css3 ×1

html ×1

html5 ×1