Skip to content

Commit

Permalink
Test #2 make sticky header
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewens committed Sep 19, 2023
1 parent 572252d commit 95f315d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion assets/css/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,8 @@ footer {
.gallery-img {
width: 100% !important;
height: auto !important;
}
}

.sticky {
position: sticky;
}
2 changes: 1 addition & 1 deletion test.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div position="sticky">
<div class="sticky">
<h1>Andrew's html sandbox</h1>
<p>Currently testing making galleries that have text.</p>
</div>
Expand Down

0 comments on commit 95f315d

Please sign in to comment.