czheo

用 HTML/CSS 替换坏掉的图片

  •  
  •   czheo · Jun 24, 2015 · 3016 views
    This topic created in 4156 days ago, the information mentioned may be changed or developed.
    这不是一个实用的trick。
    场景比如,如果用户没有设定头像,使用默认的图片

    http://czheo.github.io/2015/06/23/replace-a-broken-image-with-pure-html-css/
    2 replies  •  2015-06-25 13:45:02 +08:00
    Nausicaa
    Nausicaa
    Jun 24, 2015 via iPad
    1
    不错的小技巧
    收藏了
    ligyxy
    ligyxy
    Jun 25, 2015
    2
    还真是..不很实用呢= =
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2445 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 05:18 · PVG 13:18 · LAX 21:18 · JFK 00:18
    ♥ Do have faith in what you're doing.