title: What is the problem of font awesome styling?
body: <p>I'm trying to style a font awesome icon using .fa selector, but unfortunately, the only way to style it by using .fa-iconname eg: .fa-camera. How can I fix this issue?</p>
  <hr />
  <p>Here is my html code :</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.fa{
      font-size: 300px;
      color: green;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!DOCTYPE html&gt;
      &lt;html lang="en"&gt;
      &lt;head&gt;
      &lt;meta charset="UTF-8"&gt;
      &lt;meta http-equiv="X-UA-Compatible" content="IE=edge"&gt;
      &lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&gt;
      &lt;title&gt;YAMMOE&lt;/title&gt;
      &lt;link rel="stylesheet" href="css/all.css"&gt;
      &lt;link rel="stylesheet" href="css/style.css"&gt;
      &lt;/head&gt;
      
      &lt;body&gt;
      
      &lt;i class="fa fa-camera"&gt;&lt;/i&gt;
      
      &lt;div class="slider"&gt;
      &lt;div class="header"&gt;&lt;/div&gt;
      &lt;div class="nav"&gt;
      &lt;ul&gt;&lt;/ul&gt;
      &lt;/div&gt;
      &lt;/div&gt;
      
      
      &lt;script src="js/all.js"&gt;&lt;/script&gt;
      &lt;script src="js/main.js"&gt;&lt;/script&gt;
      &lt;/body&gt;
      &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>
  <hr />
  <p>And here is my css code that doesn't work:</p>
  <pre><code>.fa{
  font-size: 300px;
  color: green;
  }
  </code></pre>
  <p>Notes:</p>
  <ul>
  <li>I'm using font awesome 5.11.2 for web or version 6.0.</li>
  <li>Either using selectors i or .fa or .fas or .fad all of these
  selectors don't function properly in    terms of styling.</li>
  </ul>
  <p><a href="https://i.stack.imgur.com/0dmN8.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0dmN8.jpg" alt="HTML Page" /></a></p>
  <p><a href="https://i.stack.imgur.com/7eMWG.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7eMWG.jpg" alt="Css Page" /></a></p>