求教html高手咋弄背景图片不重复不平铺 只显示一张图片?网上流行的12行代码为什么样会让浏览器崩溃

时间:2018-02-12 16:36:03   浏览:次   点击:次   作者:   来源:   立即下载

可以这样设定背景:

① · body style=background-image: url(body style=background-image: url(图片文件地址 background-repeat:no-repeat; background-attachment;)背景图片不重复不平铺; background-attachment: fixed;background-image: url( background-repeat:no-repeat;

两者结合;图片文件地址图片文件地址);

这样背景图片就会固定住,不会因页面滚动而重复。

② · 使图在任何大小的屏幕都不会显示重复,可以这样设定背景(图像不平铺):

body style=)

nasko@chromium.org:

the problem isn\'t history limit, it doesn\'t actually go above ⑤⓪. The underlying issue is that the IPC queue doesn\'t have a limit, so we have a TON of IPCs queued up because of the pushState call in a loop. It just takes lots of CPU and time to process through the messages.

收起

相关推荐

相关应用

平均评分 0人
  • 5星
  • 4星
  • 3星
  • 2星
  • 1星
用户评分:
发表评论

评论

  • 暂无评论信息