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