title: How to change static css file on API response in ReactJS
body: <p>In my project i want to change the background-color and font of text. Both the properties are written in css file.
  Project structure is:</p>
  
  <pre><code>|-myProject
  |--public
  |--src
  |--package.json
  </code></pre>
  
  <p>All my css is written in public directory, and i have an api which give response of background-color and font. Now i want to change the properties background-color and font in css files according to api response.</p>