【发布时间】:2014-06-06 16:01:48
【问题描述】:
当我在 Chrome 中使用宽度过渡时,我的元素会抽搐。我该如何解决这个问题?
.search-group input {
width: 85px;
-webkit-transition: all ease-in-out .15s;
transition: all ease-in-out .15s;
}
.search-group input:focus {
width: 150px;
outline: none;
}
VIDEO(质量问题见谅)
【问题讨论】:
-
你用什么浏览器?在 Firefox 中看起来不错。
-
@HristoValkanov,铬 35.0.1916.114 m
-
@totoro2,嗯,奇怪...
-
@totoro2, tinypic.com/player.php?v=4jop3s%3E&s=8#.U5HosfmwI3g - 看右边部分(抱歉质量问题)。
-
我以前遇到过这种问题,但有不透明度过渡。我想我设法通过包含
-moz-、-ms和-o-来解决它,这对我来说毫无意义
标签: css google-chrome transition