-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathawesomeHover.css
More file actions
54 lines (47 loc) · 817 Bytes
/
Copy pathawesomeHover.css
File metadata and controls
54 lines (47 loc) · 817 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
* {
margin: 0;
padding : 0;
font-family: "montserrat", sans-serif;
}
body {
background: #353b48;
height : 100vh;
display : flex;
align-items : center;
justify-content : center;
}
.btn {
width : 200px;
height : 60px;
background : none;
border : 4px solid;
color : #3498db;
font-weight : 700;
text-transform: uppercase;
cursor : pointer;
font-size : 16px;
position : relative;
}
.btn::before, .btn::after{
content: "";
position : absolute;
width: 14px;
height: 4px;
background : #353b48;
transform : skewX(50deg);
transition : .4s linear;
}
.btn::before{
top: -4px;
left : 10%;
}
.btn::after{
bottom : -4px;
right : 10%;
}
.btn:hover::before{
left: 80%;
}
.btn:hover::after{
right: 80%;
}