-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathindex.css
94 lines (93 loc) · 1.86 KB
/
index.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
@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
.social-media{
display: grid;
height: 100%;
width: 100%;
place-items: center;
padding: 30px 0;
/* background: linear-gradient(315deg, #ffffff 0%, #d7e1ec 74%); */
}
h4{
color: #fff;
margin-bottom: 20px;
}
.wrapper .button{
display: inline-block;
height: 40px;
width: 40px;
float: left;
margin: 0 5px;
overflow: hidden;
background: #f1f1f1;
border-radius: 50px;
cursor: pointer;
box-shadow: 0px 10px 10px rgba(0,0,0,0.1);
transition: all 0.3s ease-out;
}
.wrapper .button:hover{
width: 170px;
}
.wrapper .button .icon{
display: inline-block;
height: 40px;
width: 40px;
text-align: center;
border-radius: 50px;
box-sizing: border-box;
line-height: 20px;
transition: all 0.3s ease-out;
}
.wrapper .button:nth-child(1):hover .icon{
background: #4267B2;
}
.wrapper .button:nth-child(2):hover .icon{
background: #1DA1F2;
}
.wrapper .button:nth-child(3):hover .icon{
background: #E1306C;
}
.wrapper .button:nth-child(4):hover .icon{
background: #7289da;
}
.wrapper .button:nth-child(5):hover .icon{
background: #ff0000;
}
.wrapper .button:nth-child(6):hover .icon{
background: #000000;
}
.wrapper .button .icon i{
font-size: 25px;
line-height: 40px;
transition: all 0.3s ease-out;
}
.wrapper .button:hover .icon i{
color: #fff;
}
.wrapper .button span{
font-size: 20px;
font-weight: 500;
line-height: 40px;
margin-left: 10px;
transition: all 0.3s ease-out;
}
.wrapper .button:nth-child(1) span{
color: #4267B2;
}
.wrapper .button:nth-child(2) span{
color: #1DA1F2;
}
.wrapper .button:nth-child(3) span{
color: #E1306C;
}
.wrapper .button:nth-child(4) span{
color: #333;
}
.wrapper .button:nth-child(5) span{
color: #ff0000;
}