레이아웃 및 CSS 핵심 A2 · 공식 명세 플랫폼: 웹

object-fit

객체 맞춤 크기(object-fit)

`object-fit`은 이미지, 비디오 또는 유사한 항목이 그 박스 안에서 어떻게 맞추어질지를 제어합니다.

당신은 이것을 이렇게 부를 수 있습니다 object-fit이미지 맞춤교체된 요소 맞춤

작동 방식을 확인하세요

원본 작업 예제객체 맞춤 크기(object-fit)

다른 예시

마켓플레이스에서는 판매자 사진을 `object-fit: cover`가 적용된 4:3 박스에 넣습니다. `object-position`에 저장된 초점 포인트 덕분에 얼굴이 눈 부분에서 잘리지 않습니다. 제품 도표는 대신 `contain`을 사용하여 여백을 추가함으로써 모든 노트가 보이도록 합니다.

주요 부분

  1. 01콘텐츠 박스
  2. 02교체된 미디어
  3. 03맞춤 및 초점 위치

사용할 때

계획된 크롭이 괜찮다면 `cover`를 사용하고, 모든 부분이 보여야 한다면 `contain`을 사용하며, 매우 넓거나 매우 높은 미디어도 테스트하십시오.

다음 경우에는 사용하지 마세요

차트, 스크린샷, QR 코드 또는 문서에는 `cover`를 사용하지 마세요. 잘라내면 필요한 정보가 사라질 수 있습니다.

코드에서 사용된 이름

object-fit: cover|contain + object-position

출시하기 전에

Check content order, shared design values, component consistency, contrast, zoom, and layout changes by screen size. Verify every theme, language, and state. If there is motion, offer an equal reduced-motion experience.

복사 가능한 요청

Outcome:Complete the task with 객체 맞춤 크기(object-fit) (object-fit)。 User context:마켓플레이스에서는 판매자 사진을 `object-fit: cover`가 적용된 4:3 박스에 넣습니다. `object-position`에 저장된 초점 포인트 덕분에 얼굴이 눈 부분에서 잘리지 않습니다. 제품 도표는 대신 `contain`을 사용하여 여백을 추가함으로써 모든 노트가 보이도록 합니다. Design concept to apply:객체 맞춤 크기(object-fit) (object-fit)。 Why it fits:계획된 크롭이 괜찮다면 `cover`를 사용하고, 모든 부분이 보여야 한다면 `contain`을 사용하며, 매우 넓거나 매우 높은 미디어도 테스트하십시오. Do not use it when:차트, 스크린샷, QR 코드 또는 문서에는 `cover`를 사용하지 마세요. 잘라내면 필요한 정보가 사라질 수 있습니다. Design requirements: Set the content order, shared design values, and reusable components. Define how the layout changes by screen size and state. Keep useful design choices separate from decoration. Inclusion and resilience: Check contrast, zoom, languages, themes, and reduced motion when needed. Do not use color or effects as the only way to show meaning. Acceptance criteria: The design stays clear on phones and desktops, at zoom, in every theme, and in all supported languages. Interactive states stay clear and consistent. Evidence and limits (evidence boundary):공식 문서라고 해도 초안, 출시 후보, 최종 버전일 수 있어요. 상태와 브라우저나 플랫폼 지원 여부를 꼭 확인하세요. Unknowns to confirm: Brand limits, amount of content, supported themes and languages, target devices, and design-system rules.

이 요청을 확인하세요

Review how 객체 맞춤 크기(object-fit) (object-fit) is used now. Definition: `object-fit`은 이미지, 비디오 또는 유사한 항목이 그 박스 안에서 어떻게 맞추어질지를 제어합니다. Release checks: Check content order, shared design values, component consistency, contrast, zoom, and layout changes by screen size. Verify every theme, language, and state. If there is motion, offer an equal reduced-motion experience. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.

A2
이 용어는 얼마나 공식적인가요?

공식 명세

출판된 공식 규격이 나열된 기술 범위에서 이 용어를 정의해요.

공식 문서라고 해도 초안, 출시 후보, 최종 버전일 수 있어요. 상태와 브라우저나 플랫폼 지원 여부를 꼭 확인하세요.

범위
소스가 포함하는 것만:정규 이름、정의、의미론、구현
문서 상태
초안
선택됨
2026-07-30

증거 출처 및 범위

권위 있는 출처 + 용어 참조 · W3C CSS Working Group · 초안 CSS Images Module Level 3 — Sizing objects: object-fit Sizing objects: object-fit 범위: 정규 이름、정의、의미론、구현 여기 역할: 직접 용어 참조 출처 범위: 정규 이름, 정의, 의미론, 구현 권위 있는 출처 · W3C CSS Working Group · 초안 CSS Images Module Level 3 범위: 정규 이름、정의、의미론、구현 여기 역할: 명시된 범위 안의 권위 출처 범위: 정규 이름, 정의, 의미론, 구현 용어 참조 W3C — CSS Images Level 3: Sizing Objects 여기 역할: 직접 용어 참조

직접 복사

브라우저가 이것을 복사할 수 없습니다. 아래 요청을 선택하고 직접 복사하세요.