Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Issue on Using Animate.css - Horizontal Scrollbar Added to Page on Animation

I am trying to add some animations to text using Animate.css and jQuery @ This Demo

I am using jquery addClass() to apply .animated, .bounceInLeft, and .bounceInRight to the elements by using this code:

$(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');
});

but as you can see the page also is getting annoying Horizontal Scrollbar during the animation process. Can you please let me know how I can stop this?

Thanks

like image 793
Suffii Avatar asked Dec 30 '25 05:12

Suffii


1 Answers

body {
    overflow-x: hidden;
}

http://jsfiddle.net/DTcHh/3127/

like image 196
Mark Dickson Jr. Avatar answered Dec 31 '25 18:12

Mark Dickson Jr.