-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
52 lines (45 loc) · 1021 Bytes
/
style.css
File metadata and controls
52 lines (45 loc) · 1021 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
:root {
--clr-dark: #070a12;
--clr-light: #f9f9fb;
--clr-accent: #f43f70;
--clr-rgba: rgba(244, 63, 112, 0.2);
}
*,
*::before,
*::after {
box-sizing: border-box;
}
* {
font-family: 'Roboto', sans-serif;
}
body {
margin: 0;
padding: 0;
line-height: 1.5;
word-spacing: 1.4px;
color: var(--clr-dark);
background-color: var(--clr-light);
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.btn {
font-size: 2rem;
font-weight: 700;
padding: 0.5em 1em;
color: var(--clr-accent);
background-color: var(--clr-rgba);
border: 10px solid var(--clr-accent);
border-radius: 5px;
transition-property: transform;
transition-duration: 0.3s;
transition-timing-function: ease;
transition-delay: 0s;
/* transition: all 0.3s; */
}
.btn:hover {
transform: translateY(-10px);
/* background-color: var(--clr-accent);
color: var(--clr-light); */
}