I have a div with overflow-x:auto
and I need to show a different styling if append dynamic content inside of it that makes the scrollbar appear.
Which is the simplest way to show a different style to an auto overflowing div while it is scrollable?
EDIT: for info, I want to make a ::after element appear