运行 ❯
获取您的
自己的
网站
×
更改方向
保存代码
更改主题,深色/浅色
前往 Spaces
<!DOCTYPE html> <html> <head> <style> div { background-color: lightgreen; inline-size: 300px; padding: 10px; writing-mode: vertical-rl; border-block: hotpink dashed 8px; } </style> </head> <body> <h2>border-block: hotpink dashed 8px:</h2> <div> <p>With writing-mode property value set to 'vertical-rl', the borders affected by the border-block property is on the left and right.</p> </div> </body> </html>