运行 ❯
获取您
自己的
网站
×
更改方向
保存代码
更改主题,深色/浅色
转到 Spaces
<!DOCTYPE html> <html> <head> <style> div { background-color: lightgreen; inline-size: 300px; padding: 10px; border-inline-width: 5px; direction: rtl; border-inline-style: solid dotted; } </style> </head> <body> <h2>border-inline-style: solid dotted:</h2> <div> <p>With direction property value set to 'rtl', the solid border at the start in the inline direction is on the right side, and the dotted border at inline end is on the left side.</p> </div> </body> </html>