Simply looking for a replacement for fadeIn() will not get you to the essence of migrating away from jQuery Effects. What you really need to think about is where to place the appearance, state, and ...
网上的淡入淡出效果大多是依照jquery中fadeIn和fadeOut的方法使用js来控制元素的透明度达到目的,但缺点是有轻微的卡顿感,并且运行效率一般。 这里提供另外一个思路,即通过预先定义好的css ...