갤러리로 돌아가기

스크롤 영역

긴 콘텐츠를 제한된 영역 안에서 스크롤해요.

Project updates

Research notes and early concepts are ready to review.

The team has shared feedback on the first draft.

Next, refine the details and prepare the final handoff.

All project resources are available to the team.

권장 API

속성·요소형식예제 초기값설명
tabindexInteger0키보드로 스크롤 영역에 들어갈 수 있게 해요.
aria-labelTextProject updates스크롤 영역에 접근 가능한 이름을 붙여요.

상태

상태조건·조작결과
overflowing세로 공간에 콘텐츠가 다 들어가지 않아요.정해진 컨테이너 안에서 콘텐츠가 스크롤돼요.

Svelte 구현 지침

넘치는 내용을 마우스, 터치, 키보드로 스크롤하며 포커스 가능한 영역에 이름을 제공합니다.

Use semantic HTML and preserve keyboard access. Adapt the example to the project conventions.

CSS 변수

변수타입기본값설명
--q-textcolor #28302a제목과 기본 텍스트의 색이에요.
--q-mutedcolor #70776f설명이나 보조 텍스트의 색이에요.
--q-font-sizelength 13px컴포넌트의 기준 글자 크기예요.
--q-bordercolor #dce0d8테두리와 구분선의 색이에요.
--q-radiuslength 10px모서리를 둥글게 하는 기준값이에요.
--q-gaplength calc(var(--q-space) * 2)내용 사이의 간격이에요. 기본 간격으로 계산해요.
--q-accentcolor #344e41활성 상태, 표시 막대, 포커스에 쓰는 강조색이에요.
--q-spacelength 4px간격과 여백을 계산하는 기준값이에요.