Issue with background color and Google Chrome

后端 未结 22 1180
一向
一向 2020-12-08 02:06

Sometimes I get a broken background in Chrome. I do not get this error with any other browser.

This is the simple CSS line responsible for the background color of b

22条回答
  •  心在旅途
    2020-12-08 02:50

    I had the same thing in both Chrome and Safari aka Webkit browsers. I'm suspecting it's not a bug, but the incorrect use of css which 'breaks' the background.

    In the Question above, the body background property is set to:

    background: black;
    

    Which is fine, but not entirely correct. There's no image background, thus...

    background-color: black;
    

提交回复
热议问题