sticky-kit
sticky-kit copied to clipboard
stick to bottom
Is it possible to "stick" the element to the bottom of its parent? If yes, how? Thanks!
:+1: doesn't found how to do this too
:+1:
+1
The plugin adds a CSS class to the element when it becomes stuck ("is_stuck" by default). You can clear the top value and add bottom value in your stylesheet. e.g.
.is_stuck {
top: auto !important;
bottom: 0;
}
I'm working on this too. I have made the following CSS change
.is_stuck { top: auto !important; bottom: 0; } However now the stuck element doesn't bottom out at the right position, it scrolls past the bottom of the parent until the top of the window passes the bottom of the parent.
My assumption is because the plugin thinks the stuck element is still in the position set by the plugin.
Any suggestions?
+1