-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
27 lines (25 loc) · 846 Bytes
/
index.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
/* Reset some default styles for the page */
body, p {
margin: 0;
padding: 0;
background-color: black;
}
body {
background-image: url('jitters.gif');
background-size: cover;
background-repeat: no-repeat;
background-position: center; /* Center the background image */
/* background-attachment: fixed; Optional: Keeps the background fixed */
height: 100vh; /* Make the background fill the entire viewport height */
overflow: hidden; /* Hide any overflow content */
display: flex; /* Use flexbox to center the h1 vertically and horizontally */
justify-content: center; /* Center horizontally */
align-items: center; /* Center vertically */
}
/* Style the h1 element */
h1 {
font-weight: bold;
font-size: 20px;
text-align: center;
color: white; /* Change text color to white */
}