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

前端 未结 7 875
一整个雨季
一整个雨季 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条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-01 17:38

    In my case, I had a white line between the div bottom and the shadow and I resolved the issue adding a height to the div with decimals:

    height:30px; -> height:30.1px; 
    

提交回复
热议问题