Remove 1px transparent space from CSS box-shadow in IE11?

前端 未结 7 812
一整个雨季
一整个雨季 2021-01-01 16:57

I\'m using CSS box-shadow to mimic a background that \"bleeds\" to the edges of the browser window. It works great in Chrome, Firefox, Safari, and Internet Exp

7条回答
  •  一生所求
    2021-01-01 17:48

    Found this solution(Small space between box shadow and div when alpha set) and it works for me: div width must be an odd number. width: 800px; => not working, but width:799px; => works and white gap disappeared!

提交回复
热议问题