Dev Patrache

CSS Units Reference

단위이름유형설명예시
pxPixelsabsolute화면의 1픽셀. 가장 기본적인 단위.font-size: 16px;
emEmrelative부모 요소의 font-size 기준 배수.padding: 1.5em;
remRoot Emrelative루트(html) 요소의 font-size 기준 배수.margin: 2rem;
%Percentrelative부모 요소의 해당 속성 기준 백분율.width: 50%;
vwViewport Widthviewport뷰포트 너비의 1%.width: 100vw;
vhViewport Heightviewport뷰포트 높이의 1%.height: 100vh;
vminViewport Minviewportvw와 vh 중 작은 값의 1%.font-size: 5vmin;
vmaxViewport Maxviewportvw와 vh 중 큰 값의 1%.width: 50vmax;
dvhDynamic VHviewport동적 뷰포트 높이 (모바일 주소창 고려).height: 100dvh;
svhSmall VHviewport최소 뷰포트 높이.min-height: 100svh;
lvhLarge VHviewport최대 뷰포트 높이.max-height: 100lvh;
chCharacterrelative"0" 문자의 너비 기준.max-width: 60ch;
exX-Heightrelative"x" 문자의 높이 기준.line-height: 2ex;
cmCentimetersabsolute센티미터. 인쇄용.width: 10cm;
mmMillimetersabsolute밀리미터. 인쇄용.margin: 5mm;
inInchesabsolute인치 (1in = 96px).width: 2in;
ptPointsabsolute포인트 (1pt = 1/72in).font-size: 12pt;
cqiContainer Inlinecontainer컨테이너 인라인 크기의 1%.font-size: 5cqi;
cqbContainer Blockcontainer컨테이너 블록 크기의 1%.padding: 2cqb;
19개 표시 중
Last updated: 2026 · Free online tool

What is CSS Units Reference?

Free online CSS units reference

How to Use

  1. 1
    Search — Search for the item you need by keyword.
  2. 2
    Category — Filter by category buttons.
  3. 3
    Copy — Copy the item you need.

Related Tools

Frequently Asked Questions

A free online tool to browse CSS units like px, em, rem, vh, vw by category.

Yes, you can search in real-time by keyword.

No. It uses static data and works offline.

Yes, click on any item to copy it.

Yes, the responsive design works on mobile devices.

This site uses cookies for better experience and advertising. Learn more