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