-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathiconstile.css
More file actions
63 lines (55 loc) · 1.27 KB
/
iconstile.css
File metadata and controls
63 lines (55 loc) · 1.27 KB
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
body{
margin: 0;
padding: 0;
background-color: #757575;
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
}
a{
margin: 0 40px;
width: 90px;
height: 90px;
background-color: #000;
display: inline-block;
border-radius: 20px;
box-shadow: 6px 6px 12px rgba(0,0,0,.15),
-6px -6px 12px rgba(255,255,255,.1);
overflow: hidden;
font-size: 28px;
transition: .3s linear;
position: relative;
}
a:hover{
transform: scale(1.3);
border-radius: 100%;
}
a i::before{
position: absolute;
width: 100%;
height: 100%;
text-align: center;
background-size: 200% 200%;
background-position: 75% 75%;
display: inline-block;
border-radius: 20px;
box-shadow: 6px 6px 12px rgba(0,0,0,.15),
-6px -6px 12px rgba(255,255,255,.1);
overflow: hidden;
font-size: 28px;
transition: .3s linear;
position: relative;
}
a:hover i::before{
background-position: 0% 0%;
}
.fa-instagram::before{
background-image: linear-gradient(135deg,#c32aa3 30%,#0CED0B 50%);
}
.fa-twitter::before{
background-image: linear-gradient(135deg,#1da1f2 30%,#0CED0B 50%);
}
.fa-instagram::before{
background-image: linear-gradient(165deg,#cf2aa3 60%,#0CED0B 90%);
}