This commit is contained in:
WickedJack99
2022-09-29 09:04:12 +02:00
parent b09a5ec665
commit dfc68aac3a
5 changed files with 7 additions and 11 deletions

View File

@@ -15,15 +15,13 @@ body {
align-items: center;
}
#image00 {
background-color: black;
position: relative;
z-index: -1;
}
#div00 {
position: absolute;
align-content: center;
text-align: center;
background-position: center;
background-image: url(https://cdn.pixabay.com/photo/2012/01/09/09/59/earth-11595_960_720.jpg);
background-repeat: no-repeat;
background-size: cover;
}
a {

View File

@@ -6,7 +6,6 @@ css_file: index.css
<div class="mainDiv">
<div id="div00">
<img id="image00" src="https://cdn.pixabay.com/photo/2012/01/09/09/59/earth-11595_960_720.jpg" width="auto" height="auto">
<h1>Welcome! :)</h1>
<h2>Live conscious</h2>
<h2>Accept Yourself</h2>