Let's Glow Some Social Media Application Icons

Ticker

10/recent/ticker-posts

Let's Glow Some Social Media Application Icons

Interesting Glowing Effect By HTML & CSS Program 


HTML Source Code

<!DOCTYPE html>

<html lang="en" dir="ltr">

  <head>

    <meta charset="utf-8">

    <title>Glowing Icons</title>

    <link rel="stylesheet" href="style.css">

    <script src="https://kit.fontawesome.com/a076d05399.js"></script>

  </head>

  <body>

      <ul>

        <li><i class="fab fa-facebook-f"></i></li>

        <li><i class="fab fa-twitter"></i></li>

        <li><i class="fab fa-instagram"></i></li>

        <li><i class="fab fa-linkedin-in"></i></li>

        <li><i class="fab fa-youtube"></i></li>

<li><i class="fab fa-telegram"></i></li>

<li><i class="fab fa-pinterest"></i></li>

<li><i class="fab fa-whatsapp"></i></li>

      </ul>


  </body>

</html>


CSS Source Code


*{
  margin: 0;
  padding: 0;
  list-style: none;
}
body{
  display: flex;
  height: 100vh;
  text-align: center;
  align-items: center;
  justify-content: center;
  background: url("https://wallpapercave.com/wp/wp37411.jpg");
}
ul{
  display: flex;
}
ul li{
  position: relative;
  display: block;
  color: #666;
  font-size: 50px;
  height: 80px;
  width: 80px;
  background: transparent;
  line-height: 80px;
  border-radius: 50%;
  margin: 0 15px;
  cursor: pointer;
  transition: .5s;
}
ul li:before{
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  height: inherit;
  width: inherit;
  background: #d35400;
  border-radius: 50%;
  transform: scale(.9);
  z-index: -1;
  transition: .5s;
}
ul li:nth-child(1):before{
  background: #3b5998;
}
ul li:nth-child(2):before{
  background: #00acee;
}
ul li:nth-child(3):before{
  background: #3f729b;
}
ul li:nth-child(4):before{
  background: #0e76a8;
}
ul li:nth-child(5):before{
  background: #ff0000;
}
ul li:nth-child(6):before{
  background: #0088cc;
}
ul li:nth-child(7):before{
  background: #c8232c;
}
ul li:nth-child(8):before{
  background: #4FCE5D;
}
ul li:hover:before{
  filter: blur(3px);
  transform: scale(1.2);
  box-shadow: 0 0 15px #d35400;
}
ul li:nth-child(1):hover:before{
  box-shadow: 0 0 15px #3b5998;
}
ul li:nth-child(2):hover:before{
  box-shadow: 0 0 15px #00acee;
}
ul li:nth-child(3):hover:before{
  box-shadow: 0 0 15px #3f729b;
}
ul li:nth-child(4):hover:before{
  box-shadow: 0 0 15px #0e76a8;
}
ul li:nth-child(5):hover:before{
  box-shadow: 0 0 15px #ff0000;
}
ul li:nth-child(6):hover:before{
  box-shadow: 0 0 15px #0088cc;
}
ul li:nth-child(7):hover:before{
  box-shadow: 0 0 15px #c8232c;
}
ul li:nth-child(8):hover:before{
  box-shadow: 0 0 15px #4FCE5D;
}
ul li:nth-child(1):hover{
  color: #456cba;
  box-shadow: 0 0 15px #3b5998;
  text-shadow: 0 0 15px #3b5998;
}
ul li:nth-child(2):hover{
  color: #26a4f2;
  box-shadow: 0 0 15px #00acee;
  text-shadow: 0 0 15px #00acee;
}
ul li:nth-child(3):hover{
  color: #e23670;
  box-shadow: 0 0 15px #3f729b;
  text-shadow: 0 0 15px #3f729b;
}
ul li:nth-child(4):hover{
  color: #2a6cbb;
  box-shadow: 0 0 15px #0e76a8;
  text-shadow: 0 0 15px #0e76a8;
}
ul li:nth-child(5):hover{
  color: #ff1a1a;
  box-shadow: 0 0 15px #ff0000;
  text-shadow: 0 0 15px #ff0000;
}
ul li:nth-child(6):hover{
  color: #0088cc;
  box-shadow: 0 0 15px #0088cc;
  text-shadow: 0 0 15px #0088cc;
}
ul li:nth-child(7):hover{
  color: #ff1a1a;
  box-shadow: 0 0 15px #c8232c;
  text-shadow: 0 0 15px #c8232c;
}
ul li:nth-child(8):hover{
  color: #4FCE5D;
  box-shadow: 0 0 15px #4FCE5D;
  text-shadow: 0 0 15px #4FCE5D;
}
ul li:hover{
  color: #ffa502;
  box-shadow: 0 0 15px #d35400;
  text-shadow: 0 0 15px #d35400;
}


OUTPUT Screen



Post a Comment

42 Comments