⏳ 2023. 5. 1. - 2023. 5. 7.
전환
transition
- transition: transition-property transition-duration transition-timing-function transition-delay;
transition-timing-function
전환 효과의 타이밍(Easing) 함수를 지정
- transition-timing-function: ease; -> 느리게-빠르게-느리게
타이밍 함수에 대해 더 자세히 알아보려면?
Easing Functions Cheat Sheet
Easing functions specify the speed of animation to make the movement more natural. Real objects don’t just move at a constant speed, and do not start and stop in an instant. This page helps you choose the right easing function.
easings.net
https://developer.mozilla.org/en-US/docs/Web/CSS/easing-function
<easing-function> - CSS: Cascading Style Sheets | MDN
The <easing-function> CSS data type denotes a mathematical function that describes the rate at which a numerical value changes.
developer.mozilla.org
https://greensock.com/docs/v2/Easing
Docs
Documentation for GreenSock Animation Platform (GSAP)
greensock.com
스타벅스 예제에 사용했던 것도 있다!
변환
transform
matrix의 작성법이 복잡해서.. 각종 함수로 분류한 것이라고 한다.
실제 브라우저에 적용될 때는 matrix로 변환되어서 적용된다고~ (몰랐음 충격)
perspective
perspective: 600px;
transform: perspective(600px);
이 둘은 무슨 차이가 있을까? -> 관찰 대상이 다르다!!
'카카오테크캠퍼스 > 필수과정' 카테고리의 다른 글
[카카오테크캠퍼스 5주차] JavaScript 선행: 개요 (0) | 2023.05.08 |
---|---|
[카카오테크캠퍼스 4주차] 오버워치 예제로 실습하기 (0) | 2023.05.06 |
[카카오테크캠퍼스 4주차] CSS 속성: flex (0) | 2023.05.06 |
[카카오테크캠퍼스 4주차] CSS 속성 (0) | 2023.05.06 |
[카카오테크캠퍼스 3주차] CSS 속성(Property), 단위 (0) | 2023.05.06 |