
HTML & CSS:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background: #121212;
}
.link {
text-decoration: none;
color: #b7b7b7;
margin: 10px;
width: 50px;
height: 50px;
display: flex;
justify-content: center;
align-items: center;
background: rgb(28, 28, 28);
border-radius: 10px;
position: relative;
transition: transform 0.4s;
}
.link:hover {
transform: rotate(45deg);
}
.link::before {
content: "";
position: absolute;
width: 100%;
height: 100%;
background: #373737;
opacity: 0;
border-radius: 10px;
transition: opacity 0.2s;
}
.link:hover::before {
opacity: 0.4;
}
.link:nth-child(1)::before {
background: #c32aa3;
}
.link:nth-child(2)::before {
background: #1da1f2;
}
.link:nth-child(3)::before {
background: #25d366;
}
.link:nth-child(4)::before {
background: #0a66c2;
}
.link:hover::before {
transform: translate(-4px, -4px);
filter: blur(10px);
}
.link i {
font-size: 1.7em;
transition: all 0.4s;
}
.link:hover i {
color: #c8c8c8;
transform: rotate(-45deg);
}
.link:hover i.instagram {
color: #c32aa3;
}
.link:hover i.twitter {
color: #1da1f2;
}
.link:hover i.whatsapp {
color: #25d366;
}
.link:hover i.linkedin {
color: #0a66c2;
}
</style>
<a href="#" class="link">
<i class="fa-brands fa-instagram instagram"></i>
</a>
<a href="#" class="link">
<i class="fa-brands fa-twitter twitter"></i>
</a>
<a href="#" class="link">
<i class="fa-brands fa-whatsapp whatsapp"></i>
</a>
<a href="#" class="link">
<i class="fa-brands fa-linkedin linkedin"></i>
</a>