+ 1

Changing the style of the CSS stylesheet with jQuery

Anyone knows how to change the style of the CSS stylesheet with jQuery, but not using the css() method, because it just adds a style attribute and styles inside it, it doesn't change the style in css stylesheet absolutely.

5th Apr 2017, 9:49 AM
Ani Naslyan
Ani Naslyan - avatar
4 Respuestas
+ 4
You mean you would like to write in the css file?
5th Apr 2017, 12:15 PM
Geoffrey L
Geoffrey L - avatar
+ 3
What about jquery toggle() ?
5th Apr 2017, 1:57 PM
Geoffrey L
Geoffrey L - avatar
+ 1
Yes. Because I have some problems with : hover and :before pseudoclasses.
5th Apr 2017, 1:11 PM
Ani Naslyan
Ani Naslyan - avatar
+ 1
Search for "JQuery Style switcher" on youtube
5th Apr 2017, 1:56 PM
Naeem Rind
Naeem Rind - avatar