如何从背景图像中删除白色模糊边框.
- <div class="background-image"></div>
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;
- }