运行 ❯
获取您
自己的
网站
×
更改方向
保存代码
更改主题,深色/浅色
转到 Spaces
<!DOCTYPE html> <html> <head> <style> div { background-color: lightgreen; inline-size: 70%; padding: 30px 10px; border-inline-start-style: solid; } #example1 { border-inline-style: solid; border-inline-width: 10px; } #example2 { border-inline-style: solid; border-inline-width: thin thick; } </style> </head> <body> <h2>border-inline-width: 10px:</h2> <div id="example1"> <p>The border-inline-width property defines the width of the border in the start and end in the inline direction.</p> </div> <h2>border-inline-width: thin thick:</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>