-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsocialBtn.css
More file actions
63 lines (59 loc) · 1016 Bytes
/
Copy pathsocialBtn.css
File metadata and controls
63 lines (59 loc) · 1016 Bytes
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 {
padding :0;
margin : 0;
}
.middle {
position : absolute;
top : 50%;
transform : translateY(-50%);
width : 100%;
text-align: center;
}
.btn{
display : inline-block;
width : 90px;
height : 90px;
background: #f1f1f1;
margin : 10px;
border-radius: 30%;
box-shadow: 0 8px 15px -5px #00000070;
color : #3498db;
overflow: hidden;
position : relative;
}
.btn i {
line-height: 90px;
font-size : 26px;
transition : 0.2 linear;
}
.btn:hover i{
transform : scale(1.3);
color : #f1f1f1;
}
.btn::before{
content : "";
position : absolute;
width: 120%;
height : 120%;
background: #3498db;
transform : rotate(45deg);
left : -110%;
top : 90%;
}
.btn:hover::before{
animation: aaa 0.7s 1;
top : -10%;
left : -10%;
}
@keyframes aaa{
0%{
left : -110%;
top : 90%;
}50% {
left : 10%;
top : -30%;
}100%{
left : -10%;
top : -10%;
}
}