hover Archives - csshint - A designer hub https://csshint.com/tag/hover/ Thu, 25 Jul 2019 17:02:23 +0000 en-US hourly 1 https://wordpress.org/?v=6.3.4 how to create social media icons with hover effects https://csshint.com/how-to-create-social-media-icons-with-hover-effects/ Sun, 29 Apr 2018 07:59:55 +0000 http://localhost/css/?p=83 In this post we are going to show how to how to create social media icons with hover effects with transition effect. these effects can make your site feel much more attaractive. you can use this effects in your projects. The structure of markup is very simple and intuitive. Create a container that will have […]

The post how to create social media icons with hover effects appeared first on csshint - A designer hub.

]]>
In this post we are going to show how to how to create social media icons with hover effects with transition effect. these effects can make your site feel much more attaractive. you can use this effects in your projects.

how to create social media icons with hover effects

The structure of markup is very simple and intuitive. Create a container that will have our all the social icons list.

<div class="container">
 <ul class="social-icons">
  <li> <a href="#"><i class="fa fa-facebook"></i></a></li>
  <li> <a href="#"><i class="fa fa-twitter"></i></a></li>
  <li> <a href="#"><i class="fa fa-linkedin"></i></a></li>
  <li> <a href="#"><i class="fa fa-youtube"></i></a></li>
  <li> <a href="#"><i class="fa fa-google"></i></a></li>
 </ul> 
</div>

After creating our markup we’re going to set our style.
We set the general rules for our class and then we are going to add a special class with the desired effect styles.


/*--first include font awesome cdn file in header tag --*/  
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
body{
      background:#504496;
}
.social-icons {
      margin:50px auto;
      padding:0px;
      text-align:center;
      width:100%;
}
.social-icons li {
      Display:inline-block;
      margin:10px;
     }
.social-icons li a {
      color:#fff;
      display:inline-block;
      font-size:25px;
      height:50px;
      width:50px;
      text-decoration:none;
      position:relative;
      margin-bottom:20px;
      font-family:'FontAwesome';
      transition:all 0.5s ease;
     pointer-events:auto;
}
.social-icons li a i {
      line-height:50px;
}
.social-icons li a:hover  {
      color:#3a5ba0;
      background-color:#fff;
      -webkit-border-radius:25px;
      -moz-border-radius:25px;
      border-radius: 25px;
}

And now we’ll look our social icons effects.

how to create social media icons

I hope that you liked this social icons effects. Thanks and keep visting 🙂

how to create social media icons with hover effects , Learn how to style social media buttons with CSS , html code for social media buttons to website

The post how to create social media icons with hover effects appeared first on csshint - A designer hub.

]]>