CSS背景属性适合在屏幕上拉伸? [英] CSS background properties fit stretch in the screen?
问题描述
你好我们高中生,我们有一个项目创建我们自己的网站,任何我们想要的东西是可以接受的
这里来了我的问题我有图像1900x1080 dimesion即时通讯使用Dreamweaver 6
这里是我的背景我使用镀铬浏览器的代码
body {
背景:url(afjalkg.jpg);
背景大小:100%;
}
,问题是
它不适合我的浏览器我想要一个可以适应和伸展的代码随时随地在不同的浏览器中
i希望你帮助我解答我的问题谢谢!
Hello guys im high schooler and we have a project creating our own website, anything we want to put is acceptable
here's come my problem I have image 1900x1080 dimesion im using dreamweaver 6
here's my code for my backgroud im using chrome browser
body{
background: url(afjalkg.jpg);
background-size:100%;
}
and the problem is
it does't fit on my browser i want a code that can fit and stretch anytime time and in different browser
i hope you help me with my question thanks!
推荐答案
我最近尝试了这个但后来没有任何改变我把工作的截图我希望你可以帮助我谢谢
i tried this lately but nothing change later i put the screenshot of the work i hope you can help me thanks
这篇关于CSS背景属性适合在屏幕上拉伸?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!