Fiddle
I want to snap my buttons to the bottom of the container to use:
.buttons{ position: absolute; bottom: 0; }
This is normal when there is not enough content (pink div in the violin), but when there is a lot of content (orange div in the violin), the container scrolls and the buttons are not at the bottom of the container.
How to do this so that the buttons are at the bottom of the container when it does not have a lot of content, and they are at the bottom of the scroll (below the content) when there is a lot of content.
source share