Functions

Editing

scale(<arg-scale>)

가로, 세로 비율을 지정하여 크기를 변경한다.

매개 변수

scale() 함수를 사용하기 위한 매개 변수의 유형을 나타낸다.

  • CSS Transforms Module Level 1
    <number> [, <number> ]?

    두 개의 매개 변수로 x축과 y축 방향으로 2D 방식으로 크기 조정을 한다. 두 번째 매개 변수는 생략이 가능하며 첫 번째 매개 변수와 동일한 값으로 처리된다.

Details

포함된 타입

  • <number>

    정수 또는 실수를 표현한다.

구문

transform: scale(1.5);
CSS Transforms Module Level 1
scale() 함수 테스트

버전 명세

Modules
Module NameStatusSummary
CSS Transforms Module Level 1추천 후보

Last review date: 2022-11-17

지원 웹브라우저