html {
background: url(images/bg.jpg) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
怎样用CSS展示全屏幕的背景图
热门内容
最新内容
- 10 hours 37 minutes ago
- 2 days 12 hours ago
- 5 days 12 hours ago
- 1 week 1 day ago
- 2 weeks 2 days ago
- 2 weeks 5 days ago
- 2 weeks 5 days ago
- 2 weeks 5 days ago
- 2 weeks 5 days ago
- 2 weeks 6 days ago
最新评论
- nb 3 months 1 week ago
- sfes 4 months ago
- 好强大,谢谢推荐! 6 months ago
- 建议使用Ventoy 6 months ago
- Debian 12不再区分自由固件和非自由固件版本 6 months 2 weeks ago
- 用户登录自动运行软件的方法 6 months 2 weeks ago
- 经沟通,这应该是因为安装程序白屏… 7 months ago
- It works for me. I don't… 7 months ago
- 尝试ubuntu mate 7 months ago
- 1 7 months 2 weeks ago
评论