How to change the CSS of entire page/website on click?

Posted by Rakesh Juyal on Stack Overflow See other posts from Stack Overflow or by Rakesh Juyal
Published on 2010-03-14T16:48:48Z Indexed on 2010/03/14 16:55 UTC
Read the original article Hit count: 240

Filed under:
|
|
|

Is it possible to have 3-4 CSS on a page, and then on any event, say click, change the css for entire webpage. This way we can give our user the ability to change the theme. I know we can change the css of an element by:

$("#myElementID").removeClass("class1").addClass("class2");

© Stack Overflow or respective owner

Related posts about html

Related posts about css