xinroom

给动态图片 GIF 添加 max-width:100%,会卡

  •  
  •   xinroom · Dec 15, 2017 · 588 views
    This topic created in 3246 days ago, the information mentioned may be changed or developed.
    为什么在有动态图片的页面对其添加
    img {
    max-width: 100%;
    }
    即使 gif 不在可视范围内,CPU 占用依然会很高呢?
    ...


    ***
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   5003 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 07:05 · PVG 15:05 · LAX 23:05 · JFK 02:05
    ♥ Do have faith in what you're doing.