html – Font size is not changing on social media links.

I’ve added social media links to my website, but nothing happens when I try to change the font, which is annoying.

I’m not sure why the font is not changing.

HTML code:

 <!DOCTYPE html>
<title>My Website</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="">

<!-- Add font awesome icons -->
<a href="#" class="fa fa-facebook"></a>


CSS code:

.fa {
  padding: 20px;
  font-size: 30px;
  width: 30px;
  text-align: center;
  text-decoration: none;
  margin: 5px 2px;
  border-radius: 50%;

.fa:hover {
    opacity: 0.7;

.fa-facebook {
  background: #3B5998;
  color: white;

I’m trying to make the font size about 60, but nothing happens.

Why is this happening?

Check it out here:

Changing the font doesn’t do anything.

Please help me

Write a Comment

Your email address will not be published. Required fields are marked *