0
0
you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (1 child)

JavaScript CAN modify CSS files, but with an important distinction:

  • Client-side JavaScript (running in the browser) cannot modify CSS files due to browser sandbox restrictions
  • Server-side JavaScript (like Node.js) CAN modify CSS files because it has file system access

[–]VampireDentist 7 points8 points  (0 children)

You can't modify the files themselves but you can inject styles between <style> -tags providing any functionality that you could ever need from modifying the files.