图片最大尺寸-background-image
我想放一个网页背景。我有一个 1600px x 1200px 的大背景。这是一张jpg图片。图片大小为 320 KB 我可以将这张大图片放在背景中吗?网站会延迟吗?因为大图片应该放在背景中?
我想做一个快速网站。我无法剪切图像。我给了这一切,你不能用CSS来重复
I want to put on a web page background. I have a background of large 1600px x 1200px. This is a jpg picture. The image size is 320 kilobytes Can I put this big picture in the background? The site will be delayed? As the big picture should be up in the background?
I want to make a quick website. I can not cut image. I give it all, you can not use CSS to repeat
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这是一个很棒的全页面背景教程
http://css-tricks.com /完美全页背景图像/
Here is a great tutorial for full page backgrounds
http://css-tricks.com/perfect-full-page-background-image/
您始终可以增加该
.jpg
文件的压缩率(通过降低质量)以大大减小其大小。https://en.wikipedia.org/wiki/JPEG#Effects_of_JPEG_compression
You can always increase compression (by reducing quality) of that
.jpg
file to greatly reduce its size.https://en.wikipedia.org/wiki/JPEG#Effects_of_JPEG_compression