An Interest In:
Web News this Week
- May 1, 2024
- April 30, 2024
- April 29, 2024
- April 28, 2024
- April 27, 2024
- April 26, 2024
- April 25, 2024
July 22, 2020 11:29 pm GMT
Original Link: https://css-tricks.com/position-vertical-scrollbars-on-opposite-side-with-css/
Position Vertical Scrollbars on Opposite Side with CSS
Fair warning: I can’t say I recommend this in general because it breaks a very strong expectation of where scrollbars are, which are useful for a lots of folks, not to mention, a core accessibility feature for many.
But it is a fascinating CSS trick and the web is a big place with an unknowable magnitude of situations where sometimes weird solutions are needed.
Technique #1: Directional Trickery
The trick here is to have the scrolling parent element use direction:
… Read article “Position Vertical Scrollbars on Opposite Side with CSS”
The post Position Vertical Scrollbars on Opposite Side with CSS appeared first on CSS-Tricks.
You can support CSS-Tricks by being an MVP Supporter.
Original Link: https://css-tricks.com/position-vertical-scrollbars-on-opposite-side-with-css/
Share this article:
Tweet
View Full Article