BeijingBaby
V2EX  ›  CSS

twitter bootstrap 连续刷新时input可见黑色边框

  •  
  •   BeijingBaby ·
    PRO
    · Jun 18, 2013 · 4249 views
    This topic created in 4762 days ago, the information mentioned may be changed or developed.
    // Everything else
    textarea,
    ....
    .transition(~"border linear .2s, box-shadow linear .2s");

    去掉最后一行即可,不过如此当input获得焦点时边框和阴影就没有transition了。
    解决了连续刷新时,浏览器渲染时的黑边框问题。
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1277 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 23:43 · PVG 07:43 · LAX 16:43 · JFK 19:43
    ♥ Do have faith in what you're doing.