我有一个简单的问题:如果我将伪元素(::after,:before)和主项目的css转换附加到主项目的动画结尾等待伪元素的动画。我想同时做两个动画。 我只有在FireFox(50.0.1)的Chrome(54.0.2840.99)中有这个问题,它的表现很好。CSS3转换:伪元素等待到主项转换结束后
这捣鼓出了问题: https://jsfiddle.net/CptCrunch/wtse7e8b/1
body {
text-align: center;
}
a {
font-size: 50px;
font-weight: 800;
color: red;
text-decoration: none;
transition: all 1s linear 0s;
}
a:hover {
color: blue;
}
a::before {
content: "\0005B";
margin-right: 30px;
transition: all 1s linear 0s;
}
a::after {
content: "\0005D";
margin-left: 30px;
transition: all 1s linear 0s;
}
有什么办法解决这一问题?感谢帮助。
谢谢,解决问题。解决了! – nbsp