Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有简单的 css3 动画:
@keyframes vlogo { 0% { transform: rotateX(90deg); } 50%{ transform: rotateX(200deg) } 100% { transform: rotateX(360deg); } }
如何用 jquery animate() 运行它?
jQueryanimate不使用 CSS 动画。如果要使用 jQuery 应用 CSS 动画,则需要在元素上切换类,其中类是用动画定义的。
animate
jQuery 动画与 CSS 动画完全不同。您所要做的就是为元素添加 CSS 属性,因此您应该这样做:
$(".myelement").css('animation','vlogo 5s');
在我的网站上,我有一个<我想删除的标志,它显示在桌子之前和 YouTube 视频之后。
<
问题是,该字符没有出现在index.html文件中。为了确定,我已经在三个编辑器中检查过它。我不知道它是从哪里来的。
index.html
如果您在 Firefox 中删除该表,它会消失