Skip to content

Commit

Permalink
update styles
Browse files Browse the repository at this point in the history
  • Loading branch information
CrazyH2 committed Mar 18, 2024
1 parent 75d2783 commit 4d7e908
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
<div id="container"></div>
</div>
<div id="app-group">
<div></div>
<img src="./assets/logos/images/logo.png">
<h1>CardiVR</h1>
<button>Launch</button>
Expand Down
17 changes: 13 additions & 4 deletions styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@ html, body {
position: fixed;
justify-content: center;
align-items: center;
background-image: url("../assets/images/background.png");
background-color: #1c1c1c;
background-size: cover;
background-position: center;
width: 100%;
height: 100%;
}
Expand All @@ -39,6 +35,19 @@ html, body {
width: 200px;
}

#app-group > div {
background-image: url("./assets/images/background.png");
background-color: #1c1c1c;
background-size: cover;
background-position: center;
width: 100%;
height: 100%;
position: fixed;
top: 0;
left: 0;
z-index: -1;
}

#app-group > h1 {
color: white;
font-size: 30px;
Expand Down

0 comments on commit 4d7e908

Please sign in to comment.