Skip to main content

Make a button element text header sticky

Put code into the CSS of the element you want to be sticky.

Adjust the position settings.

/*make the button sticky at the bottom*/
.el-element {
position: fixed;
right: 0;
bottom: 2%;
z-index: 1;
}
  • Hits: 10