Skip to content

top

top 속성에 대한 유틸리티입니다.

요소의 수직 위치를 지정합니다. 이 속성은 position이 지정되지 않은 요소들에는 영향을 미치지 않습니다.

변수 --top, --top-percent여기를 참고해주세요.

클래스약어 클래스속성
top:0top: 0 !important;/* 0 */
top:1top: var(--top-1) !important;/* 0 */
top:2top: var(--top-2) !important;/* 100px */
top:3top: var(--top-3) !important;/* 200px */
top:4top: var(--top-4) !important;/* 300px */
top:5top: var(--top-5) !important;/* 400px */
top:6top: var(--top-6) !important;/* 500px */
top:7top: var(--top-7) !important;/* 600px */
top:8top: var(--top-8) !important;/* 700px */
top:9top: var(--top-9) !important;/* 800px */
top:10top: var(--top-10) !important;/* 900px */
top:1ptop: var(--top-percent-1) !important;/* 10% */
top:2ptop: var(--top-percent-2) !important;/* 20% */
top:3ptop: var(--top-percent-3) !important;/* 30% */
top:4ptop: var(--top-percent-4) !important;/* 40% */
top:5ptop: var(--top-percent-5) !important;/* 50% */
top:6ptop: var(--top-percent-6) !important;/* 60% */
top:7ptop: var(--top-percent-7) !important;/* 70% */
top:8ptop: var(--top-percent-8) !important;/* 80% */
top:9ptop: var(--top-percent-9) !important;/* 90% */
top:10ptop: var(--top-percent-10) !important;/* 100% */
top:1/2top: 50% !important;
top:1/3top: 33% !important;
top:2/3top: 66% !important;
top:1/4top: 25% !important;
top:2/4top: 50% !important;
top:3/4top: 75% !important;
top:1/5top: 20% !important;
top:2/5top: 40% !important;
top:3/5top: 60% !important;
top:4/5top: 80% !important;
top:-1top: calc(var(--top-1) * -1) !important;/* 0 */
top:-2top: calc(var(--top-2) * -1) !important;/* -100px */
top:-3top: calc(var(--top-3) * -1) !important;/* -200px */
top:-4top: calc(var(--top-4) * -1) !important;/* -300px */
top:-5top: calc(var(--top-5) * -1) !important;/* -400px */
top:-6top: calc(var(--top-6) * -1) !important;/* -500px */
top:-7top: calc(var(--top-7) * -1) !important;/* -600px */
top:-8top: calc(var(--top-8) * -1) !important;/* -700px */
top:-9top: calc(var(--top-9) * -1) !important;/* -800px */
top:-10top: calc(var(--top-10) * -1) !important;/* -900px */
top:-1p top: calc(var(--top-percent-1) * -1) !important; /* -10% */
top:-2p top: calc(var(--top-percent-2) * -1) !important; /* -20% */
top:-3p top: calc(var(--top-percent-3) * -1) !important; /* -30% */
top:-4p top: calc(var(--top-percent-4) * -1) !important; /* -40% */
top:-5p top: calc(var(--top-percent-5) * -1) !important; /* -50% */
top:-6p top: calc(var(--top-percent-6) * -1) !important; /* -60% */
top:-7p top: calc(var(--top-percent-7) * -1) !important; /* -70% */
top:-8p top: calc(var(--top-percent-8) * -1) !important; /* -80% */
top:-9p top: calc(var(--top-percent-9) * -1) !important; /* -90% */
top:-10p top: calc(var(--top-percent-10) * -1) !important; /* -100% */
top:-1/2top: calc(50% * -1) !important;
top:-1/3top: calc(33% * -1) !important;
top:-2/3top: calc(66% * -1) !important;
top:-1/4top: calc(25% * -1) !important;
top:-2/4top: calc(50% * -1) !important;
top:-3/4top: calc(75% * -1) !important;
top:-1/5top: calc(20% * -1) !important;
top:-2/5top: calc(40% * -1) !important;
top:-3/5top: calc(60% * -1) !important;
top:-4/5top: calc(80% * -1) !important;