<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <style> div { font: 25px monospace; white-space: pre; overflow: hidden; text-overflow: ellipsis; border: 1px solid gray; padding: 5px; display: inline-block; vertical-align: top; } .vrl { writing-mode: vertical-rl; text-orientation: upright; height: 6em; } </style> </head> <body> <div class="vrl">你好吗?我很好!</div> </body> </html>