Skip to content

Commit

Permalink
Update CSS to center front-page div at top of page
Browse files Browse the repository at this point in the history
  • Loading branch information
alexjdean committed Jul 27, 2024
1 parent 4c33c66 commit d3c102e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions styles/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
.front-page {
position: absolute;
left: 50%;
top: 50%;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
top: 5%;
-webkit-transform: translate(-50%, 0%);
transform: translate(-50%, 0%);
line-height: 25px;
display: flex;
}
Expand Down

0 comments on commit d3c102e

Please sign in to comment.