从一种样式表淡入另一种样式表 [英] Fade from one stylesheet to the other
本文介绍了从一种样式表淡入另一种样式表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我认为这可能仅适用于jQuery或JavaScript-有人可以告诉我是否可以从一种样式表的样式淡出到另一种样式表吗?如果是这样,怎么办?
I thought this might just be possible with jQuery or JavaScript - could someone tell me if it is possible to fade from one stylesheet's styles to another? If so, how would one do it?
谢谢!
推荐答案
这是我能想到的最好方法:
This is the best way I can think of:
$( body ).fadeOut( function() {
// Switch the stylesheet
// And then:
$( this ).fadeIn();
} );
这篇关于从一种样式表淡入另一种样式表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文