CSS 데모: text-underline-position (underline의 위치 설정) 데모 버튼을 클릭해 보세요!
selector {
    text-decoration: underline;
    text-underline-position: /* value */;
}
CSS 데모: text-underline-offset (underline의 간격 띄우기를 설정) 데모 버튼을 클릭해 보세요!
selector {
    text-decoration: underline;
    text-underline-offset: /* value */;
}
text-underline-position과 text-underline-offset 속성의 브라우저 호환성
속성
데스크탑 Chrome
Chrome
데스크탑데스크탑 Edge
Edge
데스크탑 Firefox
Firefox
Safari
Safari
text-underline-position 33 12 74 12.1
text-underline-offset 87 87 70 12.1