Sticky content is a div that will stay at a certain point on the page even after scrolling. Also known as a sticky bar. Here is how to accomplish this with jquery and css.

The javascript

%MINIFYHTML4a9eb53be52bcc01996ae03f2237645c5%

The html


This is some sticky content

The CSS


#sticker {background:red; width:80%; height:50px; text-align:center; color:#FFF}
.stick { position:fixed;top:0; }

Leave a Reply

Get in Touch

Please fill out the form below and we will get back to you ASAP