๐Ÿท๏ธ<hr>

๐Ÿ”ฐ HTML โŸฉ Elements โŸฉ <hr>

(Horizontal Rule)

represents a thematic break between paragraph-level elements.

ๆณจๆ„๏ผš <hr> ้ ่จญๅชๆœ‰ 1px ็š„ border๏ผŒๆฒ’ๆœ‰ content heightโ—๏ธ

/* default styles */
hr {
    display: block;
    unicode-bidi: isolate;
    margin-block-start: 0.5em;
    margin-block-end: 0.5em;
    margin-inline-start: auto;
    margin-inline-end: auto;
    overflow: hidden;
    
    /* โญ๏ธ ้ ่จญๅชๆœ‰ border, ๆณจๆ„๏ผšcontent height = 0โ—๏ธ */
    border-style: inset;
    border-width: 1px;
}

Last updated