Skip to content

Commit

Permalink
Fix positioning
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesbvaughan committed Oct 18, 2024
1 parent 178c709 commit fd6f75c
Showing 1 changed file with 14 additions and 15 deletions.
29 changes: 14 additions & 15 deletions draw-text.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,19 @@
justify-content: space-between;
"
>
<div>
<div
id="drawingCanvas"
style="
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
overflow: hidden;
"
></div>

<div style="z-index: 1">
<header>
<h1>
<a href="/">james.land</a>
Expand All @@ -33,23 +45,10 @@ <h2>draw text</h2>
</main>
</div>

<footer>
<footer style="z-index: 1">
Made by
<a href="https://jamesbvaughan.com">James Vaughan</a>
</footer>

<div
id="drawingCanvas"
style="
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
zindex: -1;
overflow: hidden;
"
></div>
</div>

<script type="module">
Expand Down

0 comments on commit fd6f75c

Please sign in to comment.