Is it possible to use javascript to directly edit the contents of a .css file? (In turn, affects the style of elements that use the modifiable class?)
I saw several answers to such a question, but they all relate to the dynamic creation of HTML and CSS code in the html document itself, which I don't really want ...
Say, for example, I have the following code:
*{
color:red;
}
This makes ALL the text in the document red. If I give the client the opportunity to reset and change the color of all the text to whatever he wants, then the most logical choice for me is to enter the .css file and edit the "color" value in the universal selector ...
Ideas?
source
share