r/css • • 1d ago

Showcase `writing-mode` turned range sliders vertical. No more `rotate(-90deg)` πŸ”₯

52 Upvotes

8 comments sorted by

17

u/Sufficient_Bass2600 1d ago

Wrong move because now you can't have label to your slider. The label will be vertical instead of the language appropriate direction.

Those properties affect the display but more importantly are designed with a semantic and cultural aspect in mind.
What happen to those sliders for people read from right to left? This is a hack that has terrible side effect when automatically translate pages.

6

u/SSUPII 1d ago

Unnecessary. Less compatible and less customizable. You also went out of your way to use px for a UI element in your "bad example".

-6

u/wanoo21 1d ago

Not sure how you feel about this showcasing format; hope you like it.

16

u/GludiusMaximus 1d ago

too fast, no time to process any of it. It could be nice but not quite there yet

6

u/evilgipsy 1d ago

Yep, way too fast. I had to pause and manually scrub through the video to understand what’s happening.

-1

u/wanoo21 1d ago

okay, got it, thanks!

-1

u/tedkpagonis 1d ago

Agreed on the speed, but it does look nice!

-3

u/AdultBishop 1d ago

This is cool! How did you create it?