Is there a way to replicate the scroll functionality of a text input with readonly="readonly"? When the text exceeds the box size, you can highlight and scroll to view it all without a visible scrollbar.
I am interested in achieving this effect within a paragraph or heading inside a div. Is there a method to accomplish this, or should I simply use a text input with readonly="readonly" and adjust its style to resemble my heading?
Thank you!