iugo
V2EX  ›  CSS

CSS 选择器有「定时」功能吗?

  •  
  •   iugo ·
    iugo · Mar 10, 2015 · 4225 views
    This topic created in 4269 days ago, the information mentioned may be changed or developed.
    比如有个
    :timeout(value)
    这样的东西.

    例子:
    .name:timeout(10s)
    选择 10s 后的 .name

    如果没有, 只能写 JavaScript 了是吗?
    3 replies  •  2015-03-11 15:11:21 +08:00
    zdhxiong
    zdhxiong
    Mar 10, 2015 via Android
    1
    可以用transition-delay
    jimwoo
    jimwoo
    Mar 10, 2015❤️1
    2
    @zdhxiong transition-delay 只是过渡的延迟吧???


    @iugo 只能写JS!
    otakustay
    otakustay
    Mar 11, 2015
    3
    用animate,第10秒切到新的样式。但不能改class
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   983 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 22:03 · PVG 06:03 · LAX 14:03 · JFK 17:03
    ♥ Do have faith in what you're doing.