-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbd.css
More file actions
31 lines (28 loc) · 1.01 KB
/
bd.css
File metadata and controls
31 lines (28 loc) · 1.01 KB
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
/* Styles for the entire body */
body {
background-color: black; /* Sets the background color to black */
display: flex; /* Uses flexbox for layout */
justify-content: center; /* Centers content horizontally */
align-items: center; /* Centers content vertically */
height: 100vh; /* Ensures full viewport height */
}
/* Outer container styling */
.BD1 {
background-color: rgb(3, 87, 3); /* Dark green background */
height: 50vh; /* Sets height to 50% of the viewport */
width: 45vw; /* Sets width to 45% of the viewport */
}
/* Inner container for positioning */
.BD2 {
display: flex; /* Uses flexbox for alignment */
justify-content: center; /* Centers content horizontally */
padding-top: 8vh; /* Adds spacing from the top */
}
/* Inner-most container (Red Circle) */
.BD3 {
background-color: red; /* Sets a red background */
height: 30vh; /* Defines the height */
width: 15vw; /* Defines the width */
border: 50px; /* add a border */
border-radius: 100px; /* Rounds the corners, creating an oval */
}