heckthisplace
V2EX  ›  问与答

非常喜欢V2EX的回复量按钮。

  •  
  •   heckthisplace · Mar 3, 2011 · 6048 views
    This topic created in 5730 days ago, the information mentioned may be changed or developed.
    打开一个帖子后,这个按钮会自动变为暗灰色,一直以为是ajax控制的,没想到就是简单的CSS。很新颖奇特!
    4 replies  •  1970-01-01 08:00:00 +08:00
    woog
    woog
    Mar 3, 2011
    1
    我也试试看。
    m4ker
    m4ker
    Mar 3, 2011
    2
    试试。
    supersheep
    supersheep
    Mar 3, 2011
    3
    看来:visited只和链接地址有关,和被点击的是哪个元素无关。慢点验证一下~
    chone
    chone
    Mar 3, 2011
    4
    @supersheep 是的,css只是管渲染层面的东西和element事件没有关系
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   971 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 22:28 · PVG 06:28 · LAX 14:28 · JFK 17:28
    ♥ Do have faith in what you're doing.