[CSS] CSS 애니메이션 - transform, transition, animation
CSS3 애니메이션TransformTransitionAnimation1. Transform- 요소를 회전, 크기 변경 및 각도와 위치 변경 시 사용- 2D Transform 기본 x, y 두 좌표로만 요소를 변화시켜 2D적인 변화를 가미할 수 있다. 📝 Transform 형태transform: scale() translate() rotate() skew();/* 공백(스페이스)으로 구분지어 여러 속성들을 함께 사용할 수 있다. */속성설명단위translate(x,y)요소의 위치를 X축으로 x만큼, Y축으로 y만큼 이동시킨다.px, %, em 등translateX(n)요소의 위치를 X축으로 x만큼 이동시킨다.px, %, em 등translateY(n)요소의 위치를 Y축으로 y만큼 이동시킨다.px, %, ..
2024. 5. 22.