How Do I make Changes in .CSS File Using Jquery Or Javascript?

前端 未结 7 781
既然无缘
既然无缘 2021-01-22 12:27

I would like to know that is there anyway to make changes in .css file using Jquery or javascript. I know, I can dynamically add css properties(or classes) to DOM Element but I

相关标签:
7条回答
  • 2021-01-22 13:09

    Nope, you can't. You can override the css values with inline one. Because of *.css files are static and placed on the server - you can't bring any changes to the server css file. The only way - use server side of the application (PHP, ASP.NET, etc)

    0 讨论(0)
提交回复
热议问题