-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
59 lines (52 loc) · 930 Bytes
/
style.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
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
body {
font-family: "Roboto", sans-serif;
font-weight: 400;
font-size: 2rem;
line-height: 1.5;
}
.content {
position: relative;
text-align: center;
height: 100vh;
}
.title-box {
position: absolute;
width: 75%;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.background-title {
text-transform: capitalize;
background-color: rgb(0, 0, 0);
color: rgb(255, 255, 255);
padding: 20px;
margin-bottom: 40px;
border-radius: 10px;
}
.bg-color-text {
padding-left: 20px;
color: #fff;
}
.btn-title {
cursor: pointer;
position: absolute;
letter-spacing: 2px;
border: 5px solid black;
border-radius: 5px;
background-color: rgba(255, 255, 255, 0.25);
font-size: 26px;
font-weight: bold;
padding: 10px;
left: 50%;
transform: translate(-50%);
}
.btn-title:hover {
color: white;
background-color: black;
}