-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsom.css
49 lines (47 loc) · 1.42 KB
/
som.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
.container{
max-width: 200px;
background: #262626;
margin: 40px auto;
padding: 10px 0px 20px 0px;
border: 1px solid #111;
border-radius: 4px;
box-shadow: 0px 4px 5px rgba(0,0,0,.75);
.link{
font-size: 16px;
font-weight: bold;
text-align: center;
position: relative;
height: 40px;
line-height: 40px;
margin-top: 10px;
overflow: hidden;
width: 90%;
margin-left: 5%;
cursor: pointer;
&:after{
content: "";
position: absolute;
width: 40%;
border-bottom: 1px solid rgba(255,255,255,.5);
bottom: 50%;
left: -100%;
transition-delay: all .5s;
transition: all .5s;
}
&:hover:after, .link.hover:after{
left:100%;
}
.text{
text-shadow:0px -40px 0px rgba(255, 255, 255, 1);
transition:all 0.75s;
transform:translateY(100%);
transition-delay:all 0.25s;
}
}
.link:hover .text,
.link.hover .text{
text-shadow:0px -40px 0px rgba(255, 255, 255, 0);
transform:translateY(0%) translateZ(0) scale(1.1);
font-weight:600;
}
}