Skip to content

Instantly share code, notes, and snippets.

@shawnbot
Created April 16, 2019 18:07
Show Gist options
  • Save shawnbot/49e4feced3d77a44f5a3c4affa98839b to your computer and use it in GitHub Desktop.
Save shawnbot/49e4feced3d77a44f5a3c4affa98839b to your computer and use it in GitHub Desktop.
<sticky-element class="top-0" stuck-class="top-0 bg-white" stuck-style="height: 64px">
<h1 class="h1" stuck-class="h2">
I stick to the top
</h1>
</sticky-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment