jQuery equivalent of YUI StyleSheet Utility?

后端 未结 2 2096
日久生厌
日久生厌 2020-12-01 14:37

Does jQuery - or one of it\'s plugins - have equivalent functionality to the YUI StyleSheet Utility?

\"The StyleSheet Utility is capable of creating new stylesheets

2条回答
  •  天涯浪人
    2020-12-01 14:48

    Found a couple that look like they do similar things. I haven't tested them. jQuery.Rule looks to be pretty good though

    jQuery.Rule by Ariel Flesler

    This plugin allows quick creation/manipulation of CSS Rules, in a "jQuery-way". It includes features like chaining, iteration using each, selectors with context.

    GlobalStylesheet by Jeremy Lea

    Enables CSS modification that uses a 'global' stylesheet, rather than inline CSS. This is particularly handy for modifying CSS styles that you want to remain persistent until a page is refreshed again.

提交回复
热议问题