-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathContactButton.css
More file actions
76 lines (70 loc) · 1.57 KB
/
ContactButton.css
File metadata and controls
76 lines (70 loc) · 1.57 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
64
65
66
67
68
69
70
71
72
73
74
75
76
.contact:hover{
transition-delay: 1s;
color: rgba(27, 196, 87, 1);
}
.contact span{
display: block;
position: absolute;
background: #22944a;
box-shadow: 0 0 10px #1bc457, 0 0 40px #1bc457;
}
.contact span:nth-child(1){
left: 0;
bottom: 0;
width: 2px;
height: 100%;
transform: scaleY(0);
transform-origin: top;
transition: transform 0.5s;
}
.contact:hover span:nth-child(1){
transform: scaleY(1);
transform-origin: bottom;
transition: transform 0.5s;
}
.contact span:nth-child(2){
left: 0;
bottom: 0;
width: 100%;
height: 2px;
transform: scaleX(0);
transform-origin: right;
transition: transform 0.5s;
}
.contact:hover span:nth-child(2){
transform: scaleY(1);
transform-origin: left;
transition: transform 0.5s;
}
.contact span:nth-child(3){
right: 0;
bottom: 0;
width: 2px;
height: 100%;
transform: scaleY(0);
transform-origin: top;
transition: transform 0.5s;
transition-delay: 0.5s;
}
.contact:hover span:nth-child(3){
transform: scaleY(1);
transform-origin: bottom;
transition: transform 0.5s;
transition-delay: 0.5s;
}
.contact span:nth-child(4){
left: 0;
top: 0;
width: 100%;
height: 2px;
transform: scaleX(0);
transform-origin: right;
transition: transform 0.5s;
transition-delay: 0.5s;
}
.contact:hover span:nth-child(4){
transform: scaleY(1);
transform-origin: left;
transition: transform 0.5s;
transition-delay: 0.5s;
}