Is there a way in CSS to make a div with overflow: scroll
always automatically scroll to the bottom along the Y-axis, regardless of its content? For example, like a chat thread that consistently displays the latest message at the bottom.
I've encountered jQuery solutions that scroll the div to its height when new messages are added. However, I'm curious if there is a pure CSS solution for achieving this effect?
Any insights would be greatly appreciated. Thank you!