CSS Social Media Icons Hover Effect.Today in this blog, we gonna learn about CSS Social Media Icons Hover Effect for Beginners.
CSS Social Media Icons Hover Effect
Hi Friends!
Today in this blog, we gonna learn about CSS Social Media Icons Hover Effect for Beginners. Social Media Icons Hover Effects are one of the best attractive and clickable parts of the website. I already uploaded some Social Media Icons Effects. if you're a beginner let's go and learn it.
This Social Media Icons Hover Effect is one of the best CSS effects. In the previous blog, we will learn about CSS Creative Bouncing Button Effect For Beginners if you're a beginner I will recommend learning that button effect first. If you learn that and this blog will help you to learn about Social Media Icons Hover Effect. In this blog, I will give my video tutorial and source codes to download. if you have any doubts ask me in the comment section.
HTML file
[
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>css social media icon hover effect</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css" integrity="sha512-1ycn6IcaQQ40/MKBW2W4Rhis/DbILU74C1vSrLJxCq57o941Ym01SwNsOMqvEBFlcgUa6xLiPY/NS5R+E6ztJQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" type="text/css" href="index.css">
</head>
<body>
<div class="facebook">
<i class="fab fa-facebook-f"></i>
</div>
<div class="whatsapp">
<i class="fab fa-whatsapp"></i>
</div>
<div class="youtube">
<i class="fab fa-youtube"></i>
</div>
</body>
</html>
]
You can copy this HTML file. and paste it into your HTML file. Now you will learn it clearly. and don't forget to save the file with an extension . HTML. This extension is more important for creating a website page.
CSS file
[
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
display: flex;
justify-content: space-around;
align-items: center;
height: 100vh;
width: 100%;
background-color: #262626FF;
}
div{
display: flex;
justify-content: center;
align-items: center;
position: relative;
height: 100px;
width: 100px;
font-size: 50px;
border-radius: 10px;
box-shadow: 1px 1px 60px black;
background-color: rgba(255, 255, 255, 0.1);
cursor: pointer;
overflow: hidden;
}
div::before{
content: '';
display: block;
position: absolute;
height: 100px;
width: 100px;
border-radius: 50%;
bottom: 70%;
left: 70%;
z-index: -1;
}
div::after{
content: '';
display: block;
position: absolute;
height: 100px;
width: 100px;
border-radius: 50%;
top: 70%;
right: 70%;
z-index: -1;
}
.facebook::before{
background-color: dodgerblue;
box-shadow: 1px 1px 60px dodgerblue;
}
.facebook::after{
background-color: royalblue;
box-shadow: 1px 1px 60px royalblue;
}
.whatsapp::before{
background-color: lime;
box-shadow: 1px 1px 60px lime;
}
.whatsapp::after{
background-color: limegreen;
box-shadow: 1px 1px 60px limegreen;
}
.youtube::before{
background-color: red;
box-shadow: 1px 1px 60px red;
}
.youtube::after{
background-color: #F70237FA;
box-shadow: 1px 1px 60px #F70237FA;
}
div:hover::before{
animation: slide1 0.5s linear forwards;
}
div:hover::after{
animation: slide2 0.5s linear forwards;
}
@keyframes slide1{
100%{
bottom: 0;
left: 0;
border-radius: 0;
}
}
@keyframes slide2{
100%{
top: 0;
right: 0;
border-radius: 0;
}
}
]
Secondly, you can copy this CSS file. and paste it into your CSS file. and remember the file extension called. CSS. This will help you to design your webpage. If you want more clarity on this topic you can watch my video tutorial and If you have any doubts ask me in the comment section.
Video Tutorial
Watch this video fully and learn the all Social Media Icons Effects to develop your CSS skills. repeat the code for your practice this will help you to learn this Social Media Icons Hover Effect more effectively and This video is also helpful to learn faster. Glowing Social Media Icons Hover Effects are an important part of websites. I hope this tutorial will be helpful for learning Social Media Icons Hover Effect for beginners. I will give you Source Code and you can download it.
COMMENTS