title: Importing a CSS file to a react app in the head
body: <p>I want to add a <strong>link</strong> to a CSS file in to my HTML head - as simple as that really. I don't want the CSS inserted inline in to the HTML because that seems horrible.</p>
  
  <p>I've got a bunch of styles I've created that I want to apply to my React app globally - so this seems like a sensible thing to do.</p>
  
  <p>I'm trying to import my styles as so;</p>
  
  <p><code>import './css/main.css';</code></p>
  
  <p>When I do this react adds my CSS to the head of my HTML as inline styling .. so actually the app works and looks correct but this seems messy and just plain wrong - I'd much rather link directly to the CSS file.</p>
  
  <p>I did find a <a href="https://stackoverflow.com/questions/39853646/how-to-import-a-css-file-in-a-react-component">similar question</a> about how to add CSS to a react component but not the whole apps head.</p>
  
  <p>Hope that's clear, if anyone can point me to some documentation or explain what I'm doing wrong it would be very much appreciated.</p>