# transform

## transform

### 요약

CSS의 transform 속성을 사용함으로써, CSS의 시각적 서식 모델(visual formatting model)의 *좌표 공간을 변형* 시킬 수 있다. 해당 속성에 지정된 값에 따라 엘리먼트의 1 이동 (translate) 2 회전 (rotate) 3 크기변경 (scale) 4 기울임 (skew) 등의 효과를 줄 수 있다.

### syntax

> 기본문법 :  \[] \* | none

#### matrix

transform: matrix(a, c, b, d, tx, ty) a, b, c, d 로 transformation matrix 가 구성되며, ┌ ┐ │ a b │ │ c d │ └ ┘ tx, ty 는 이동되는 값이다.

#### translate

transform: translate(tx\[, ty]) 하나 혹은 두개의  값 벡터(vector) \[tx, ty]에 의한 2D 이동 (translation) 연산이다. 만약 ty 값을 지정하지 않는다면, 0값으로 가정하여 계산한다

### 예제

See the Pen [Css3 Transform](http://codepen.io/vineethtr/pen/XKKEgM/) by Vineeth.TR ([@vineethtr](http://codepen.io/vineethtr)) on [CodePen](http://codepen.io).

## 참고

[생활코딩 - transform](https://opentutorials.org/course/2418/13684)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://hoilzz-til.gitbook.io/docs/frontend/markup-css/css/transform.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
