-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathun.css
122 lines (113 loc) · 2.2 KB
/
un.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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
body{
padding: 0;
margin: 0;
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
background: #bf99a4;
}
a{
position: absolute;
padding: 20px 20px 20px 30px;
color: #000;
font-size: 20px;
font-family: sans-serif;
text-decoration: none;
text-transform: uppercase;
letter-spacing: 5px;
transition: .5s;
}
a:hover{
background: #bf99a4;
transition-delay: 2s;
box-shadow: -30px 30px 50px rgba(0,0,0,.4);
transform: rotate(-20deg) skew(15deg);
}
a:before,
a:after{
content: "";
position: absolute;
height: 100%;
width: 2px;
background: #fff;
pointer-events: none;
transform-style: linear;
transition-property: width, opacity, transform, box-shadow;
transition-duration: 0.5s;
}
a:before{
top: 0;
left:0;
}
a:after{
top: 0;
right:0;
}
a:hover:before{
width:100%;
opacity:0.1;
transform:translate(5px,-5px);
box-shadow:+2px 2px 2px rgba(0,0,0,.1);
transition-delay: 0s,0.5s,1s,1.5s
}
a:hover:after{
width:100%;
opacity:0.1;
transform:translate(10px,-10px);
box-shadow:+2px 2px 2px rgba(0,0,0,.1);
transition-delay: 0s,0.5s,1s,1.5s
}
p{
position: absolute;
left: 950px;
top: 44%;
padding: 20px 20px 20px 30px;
color: #fff;
font-size: 20px;
font-family: sans-serif;
text-decoration: none;
text-transform: uppercase;
letter-spacing: 5px;
transition: .5s;
}
p:hover{
background: #990000;
transition-delay: 2s;
box-shadow: -30px 30px 50px rgba(0,0,0,.4);
transform: rotate(20deg) skew(-15deg);
}
p:before,
p:after{
content: "";
position: absolute;
height: 100%;
width: 2px;
background: #fff;
pointer-events: none;
transform-style: linear;
transition-property: width,opacity,transform,box-shadow;
transition-duration: 0.5s
}
p:before{
top: 0;
left:0;
}
p:after{
top: 0;
right:0;
}
p:hover:before{
width:100%;
opacity:0.1;
transform:translate(5px,-5px);
box-shadow:+2px 2px 2px rgba(0,0,0,.1);
transition-delay: 0s,0.5s,1s,1.5s
}
p:hover:after{
width:100%;
opacity:0.1;
transform:translate(10px,-10px);
box-shadow:+2px 2px 2px rgba(0,0,0,.1);
transition-delay: 0s,0.5s,1s,1.5s
}