執行 ❯
建立您
自己的
網站
×
更改方向
儲存程式碼
更改主題,深色/淺色
前往 Spaces
<!DOCTYPE html> <html> <head> <style> #myDiv { background-color: lightblue; border: solid black 1px; writing-mode: vertical-rl; padding-block-start: 50px; } </style> </head> <body> <h1>The padding-block-start Property</h1> <p>Here, the padding-block-start property is affected by the CSS writing-mode property.</p> <div id="myDiv"> <p>This DIV has a padding of 10 pixels from the start in the block direction.</p> </div> </body> </html>