我正在尝试使用 Animate.css
和 jQuery
为文本添加一些动画 @ This Demo
我正在使用 jquery addClass()
将 .animated
、.bounceInLeft
和 .bounceInRight
应用于使用此代码的元素:
$(function () {
$('#solu-title-1').addClass('animated bounceInLeft');
$('#solu-title-2').addClass('animated bounceInRight');
$('#solu-description-1').addClass('animated bounceInLeft');
$('#solu-description-2').addClass('animated bounceInRight');
});
但如您所见,该页面在动画过程中也变得令人讨厌的 Horizontal Scrollbar
。你能告诉我如何阻止这一切吗?
谢谢
最佳答案
body {
overflow-x: hidden;
}
关于javascript - 关于使用 Animate.css 的问题 - 在动画页面中添加了水平滚动条,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27882156/