-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
28 lines (27 loc) · 773 Bytes
/
style.css
File metadata and controls
28 lines (27 loc) · 773 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
/* styles.css */
body {
/* Set a gradient background from purple to teal */
background: linear-gradient(to right, #6a3093, #a044ff, #5f2c82, #49a09d);
font-family: Arial, sans-serif;
/* Sets a clean, modern font for the body text */
color: white;
/* Sets the text color to white for better contrast */
margin: 0;
/* Removes default margin */
padding: 0;
/* Removes default padding */
display: flex;
/* Enables flexbox layout */
justify-content: center;
/* Centers content horizontally */
align-items: center;
/* Centers content vertically */
height: 100vh;
/* Makes the body take the full height of the viewport */
}
h1 {
font-size: 2em;
/* Sets the size of the header text */
text-align: center;
/* Centers the header text */
}