1 2 3 4 5 6 7 8 9 10 11 12
<!DOCTYPE html> <style> div { width: 50px; height: 100px; border: 1px solid gray; display: inline-block; writing-mode: vertical-rl; } </style> <!-- unicode-bidi:plaintext should resolve to LTR, ignoring the dir attribute --> <div dir="rtl" style="unicode-bidi:plaintext;">x</div>