-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
86 lines (86 loc) · 1.32 KB
/
style.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
{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body
{
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background: #000;
}
ul
{
position: relative;
display: flex;
}
ul li
{
position: relative;
list-style: none;
margin: 0 20px;
cursor: pointer;
}
ul li a
{
text-decoration: none;
}
ul li a .fa-brands
{
font-size: 6em;
color: #222;
}
ul li a::before
{
font-family: "FontAwesome";
position: absolute;
top: 0;
left: 0;
font-size: 6em;
height: 0;
overflow: hidden;
transition: 0.5s ease-in-out;
}
ul li:nth-child(1) a::before
{
content: "\f26b";
color: #1EBBEE;
}
ul li:nth-child(2) a::before
{
content: "\f232";
color: #25d366;
}
ul li:nth-child(3) a::before
{
content: "\f16d";
background-image: linear-gradient(45deg,#f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
ul li:nth-child(4) a::before
{
content: "\f2ab";
color: #FFFC00;
}
ul li:nth-child(5) a::before
{
content: "\f09b";
color: #fafafa;
}
ul li:nth-child(6) a::before
{
content: "\f1bc";
color: #1DB954;
}
ul li:nth-child(7) a::before
{
content: "\f1cb";
color: #F0F8FF;
}
ul li:hover a::before
{
height: 100%;
}