运行 ❯
获取您
自己的
网站
×
更改方向
保存代码
更改主题,深色/浅色
前往 Spaces
<!DOCTYPE html> <html> <head> <style> div { background-color: lightgreen; inline-size: 70%; padding: 30px 10px; border-inline-width: 10px; } #example1 { border-inline-style: solid; } #example2 { border-inline-style: dashed dotted; } </style> </head> <body> <h2>border-inline-style: solid:</h2> <div id="example1"> <p>The border-inline-style property defines the style of the border at the start and end in the inline direction.</p> </div> <h2>border-inline-style: dashed dotted:</h2> <div id="example2"> <p>If two values are set; the first one is for the start in the inline direction, and the second one is for the end in the inline direction.</p> </div> </body> </html>