| <!DOCTYPE html> | |
| <style> | |
| button { width: 100px; height: 60px; font: 16px monospace; } | |
| .vertical { writing-mode: vertical-rl; width: 60px; height: 100px; } | |
| .narrow { width: 40px; } | |
| </style> | |
| <button>Text</button> | |
| <button class="vertical">Text</button> | |
| <button class="narrow">Overflowing</button> |