-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
58 lines (51 loc) · 962 Bytes
/
style.css
File metadata and controls
58 lines (51 loc) · 962 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
font-size: 62.5%;
}
body {
font-family: "Courier New", Courier, monospace;
display: flex;
min-height: 100vh;
justify-content: center;
align-items: center;
background-color: rgb(255, 81, 0);
}
.button:link,
.button:visited {
text-decoration: none;
font-size: 3.4rem;
color: #777;
background-color: #fff;
padding: 1rem 3rem;
transition: all 0.5s ease;
border-radius: 10rem;
position: relative;
}
.button:hover {
transform: translateY(-0.3rem);
box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
}
.button:active {
transform: translateY(-0.1rem);
box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.2);
}
.button::after {
position: absolute;
content: "";
width: 100%;
height: 100%;
top: 0;
left: 0;
background-color: #fff;
transition: all 0.5s ease;
z-index: -1;
border-radius: 10rem;
}
.button:hover::after {
transform: scale(1.5);
opacity: 0;
}