body
元素。以下是我们如何使整个身体淡出: $("body").addClass("animated fadeOut");
但是,让我们做一些更具戏剧性的事情。将animated
类和hinge
添加到您的body
元素中。 animated
类和hinge
添加到您的body
元素中。
testString: 'assert($("body").hasClass("animated") && $("body").hasClass("hinge"), "Add the classes animated
and hinge
to your body
element.");'
```