当前位置: 动力学知识库 > 问答 > 编程问答 >

php - background duplication issue on mobile size

问题描述:

every time I scale the size of the browser to a mobile size, the head and the body gets the same background twice. I assume the problem is with the css, therefore I attach the part of the css:

also my header is an a PHP include.

html, body{

background:url('background.jpg') center no-repeat;

background-size: cover;

margin:0;

padding:0;

}

if anyone can see where the problem is, that could be great.

thanks.

分享给朋友:
您可能感兴趣的文章:
随机阅读: