How does it work?

The STICKY feature of this project is written using the position properties in CSS3.

It can put everywhere you like. When it touched the top of your screen, it will "stick" on it.

Watch the navbar. It will stop when it touch the top.


Code

<the-html-tag class="sticky"> The contents... </the-html-tag>