<hr>
실제 적용된 모습 브라우저에서 제공하는 기본 스타일
<hr class="solid-hr">
hr.solid-hr {
    border: none; /* 기본 3D 입체 테두리 제거 */
    height: 2px;  /* 선의 두께 */
    background: gray;  /* 선의 색상 */
    width: 50%;  /* 선의 가로 길이 (생략 시 100%): 자동 가운데 정렬함 */
}
실제 적용된 모습
<hr class="solid-hr">
hr.solid-hr {
    border: none; 
    height: 5px;
    background: orangered;
    width: 50%;
}
실제 적용된 모습
<hr class="solid-hr">
hr.solid-hr {
    border: none; 
    height: 5px;
    background: linear-gradient(to right, orange, red);
}
실제 적용된 모습
<hr class="dotted-hr">
hr.dotted-hr {
    border: none; /* 기본 3D 입체 테두리 제거 */
    border-top-style: dotted;
    border-top-width: 2px;  /* 선의 두께 */
    border-top-color: gray;  /* 선의 색상 */
    width: 50%;  /* 선의 가로 길이 (생략 시 100%): 자동 가운데 정렬함 */
}
실제 적용된 모습
<hr class="dotted-hr">
hr.dotted-hr {
    border: none; 
    border-top-style: dotted;
    border-top-width: 5px;
    border-top-color: orangered; 
    width: 50%;
}
실제 적용된 모습
<hr class="dotted-hr">
hr.dotted-hr {
    border: none; 
    border-top-style: dotted;
    border-top-width: 5px;
    border-top-color: orangered; 
}
실제 적용된 모습
<hr class="dashed-hr">
hr.dashed-hr {
    border: none; /* 기본 3D 입체 테두리 제거 */
    border-top-style: dashed;
    border-top-width: 2px;  /* 선의 두께 */
    border-top-color: gray;  /* 선의 색상 */
    width: 50%;  /* 선의 가로 길이 (생략 시 100%): 자동 가운데 정렬함 */
}
실제 적용된 모습
<hr class="dashed-hr">
hr.dashed-hr {
    border: none; 
    border-top-style: dashed;
    border-top-width: 5px;
    border-top-color: orangered; 
    width: 50%;
}
실제 적용된 모습
<hr class="dashed-hr">
hr.dashed-hr {
    border: none; 
    border-top-style: dashed;
    border-top-width: 5px;
    border-top-color: orangered; 
}
실제 적용된 모습
<hr class="symmetrical-hr">
hr.symmetrical-hr {
    position: relative;
    overflow: visible;
    border: none;
    width: 300px; /* 가운데 굵은 선 너비 */
    max-width: calc(33.333% - 10px); /* 가운데 굵은 선 너비와 상관없이 반응형 웹으로 구현됨 */
    height: 10px; /* 가운데 굵은 선 두께 */
    background: gray; /* 가운데 굵은 선 색상 */
}
hr.symmetrical-hr:before,
hr.symmetrical-hr:after {
    content: "";
    position: absolute;
    top: 50%;
    width: 100%;
    height: 1px;  /* 양쪽 가는 선 두께 */
    background: gray;  /* 양쪽 가는 선 색상 */
}
hr.symmetrical-hr:before {
    transform: translateX(calc(-100% - 5px)) translateY(-50%);
}
hr.symmetrical-hr:after {
    transform: translateX(calc(100% + 5px)) translateY(-50%);
}
실제 적용된 모습
<hr class="symmetrical-hr">
hr.symmetrical-hr {
    position: relative;
    overflow: visible;
    border: none;
    width: 300px; 
    max-width: calc(33.333% - 10px);
    height: 8px;
    background: orangered; 
}
hr.symmetrical-hr:before,
hr.symmetrical-hr:after {
    content: "";
    position: absolute;
    top: 50%;
    width: 100%;
    height: 1px;
    background: orangered; 
}
hr.symmetrical-hr:before {
    transform: translateX(calc(-100% - 5px)) translateY(-50%);
}
hr.symmetrical-hr:after {
    transform: translateX(calc(100% + 5px)) translateY(-50%);
}
실제 적용된 모습
<hr class="symmetrical-hr">
hr.symmetrical-hr {
    position: relative;
    overflow: visible;
    border: none;
    width: 300px; 
    max-width: calc(33.333% - 10px);
    height: 10px;
    background: linear-gradient(to right, orange, red); 
    border-radius: 5px;
}
hr.symmetrical-hr:before,
hr.symmetrical-hr:after {
    content: "";
    position: absolute;
    top: 50%;
    width: 100%;
    height: 1px;
    background: orangered; 
}
hr.symmetrical-hr:before {
    transform: translateX(calc(-100% - 5px)) translateY(-50%);
}
hr.symmetrical-hr:after {
    transform: translateX(calc(100% + 5px)) translateY(-50%);
}
실제 적용된 모습