Khalil Bz
Khalil Bz

Reputation: 607

Make the scroller of div at the left by default

I want to change the scrollbar to the left by default, But I don't want to make it with JavaScript because I'm already using it in some other things on the same div like (the user have the ability to scroll app without forcing him to go down when there is an update ....)

My project is a chatroom

Upvotes: 0

Views: 46

Answers (1)

Bobby Fritze
Bobby Fritze

Reputation: 182

Essentially a duplicate of this q: How to change scroll bar position with CSS?

Using different combinations of direction:rtl and transform:rotateX(###deg) should help you toward your desired result. See the answer from @avrahamcool in the q above

*Note: add more example text if your browser doesn't display scrollbars right away.

Upvotes: 1

Related Questions