Home > database >  How to resize social media Icon?
How to resize social media Icon?

Time:12-08

Trying to make the social media icon bigger. Ive tried height, width, and font-size syntax but nothing changes.

<h3>
  <a href="#" ></a>
  <a href="#" ></a>
  <a href="#" ></a>
</h3>
.fa-instagram {
  color: #e4c95e;
  height: 100px;
  width: 100px;
  font-size: 100px;
}

CodePudding user response:

I think its because you don't have the font linked here's a quick example of what I think you are missing on your HTML page

<link rel="stylesheet"
      href="https://fonts.googleapis.com/css?family=Tangerine">

CodePudding user response:

If you're using font awesome, add this in your class name

<h3>
 <a href="#" ></a>
 <a href="#" ></a>
 <a href="#" ></a>
</h3>

Please see the official documentation for font awesome https://fontawesome.com/docs/web/style/size

  • Related