运行 ❯
获取您
自己的
网站
×
更改方向
保存代码
更改主题,深色/浅色
前往 Spaces
<!DOCTYPE html> <html> <head> <style> div { background-color: lightblue; } div.ex1 { border: solid black 1px; margin-block-end: 35px; } </style> </head> <body> <h1>The margin-block-end Property</h1> <div>A div element with no specified margins.</div> <div>A div element with no specified margins.</div> <div class="ex1">This div element has a margin of 35 pixels at the end in block direction.</div> <div>A div element with no specified margins.</div> <div>A div element with no specified margins.</div> </body> </html>