transition
{property}{duration}{timing-function}{deley}│
Property |
Sample |
Description |
transition-property |
transition-property:width; |
css속성을 지정합니다. |
transition-duration |
transition-duration:1s; |
변화할 시간을 지정합니다. |
transition-timing-function |
transition-timing-function:linear; |
움직임 효과를 지정합니다. |
transition-delay |
transition-delay:1s; |
변화가 시작되기 전 시간을 지정합니다. |
Transition-timing-delay
Property |
Description |
linear |
일정 간격으로 변화 |
ease |
처음에는 서서히 가속하고 종점 가까이에서 급격히 감속 |
ease-in |
제로 속도에서 시작, 서서히 가속. |
ease-out |
최대 속도에서 시작,서서히 감속. |
ease-in-out |
제로 속도에서 시작,중간 지점에서 최고 속도,서서히 감속. |
cubic-bezier |
직접 값을 입력해서 속도를 지정. |
Sample
linear
ease
ease-in
ease-out
ease-in-out
animation
Syntax
transition;{name}{duration}{timing-function}{delay}
{interation-count}{ditrction}{fill-mode}{play-state};
Property |
Sample |
Description |
animation-name |
animation-name:mymove |
@keyframes에 저장된 이름을 설정합니다. |
animation-duration |
animation-duration:4s |
애니메이션이 실행되는 총 시간을 지정합니다. |
animation-timing-function |
animation-timing-function:linear |
키 프레임 변화 정도를 지정합니다. |
animation-delay |
animation-delay:4s |
애니메이션이 시작되기 전 대기시간을 지정합니다. |
animation-interation-count |
animation-interation-count:4; |
애니메이션의 반복횟수를 지정합니다. |
animation-derection |
animation-derection:alternate; |
키프레임의 연결 방향을 지정합니다. |
animation-fill-mode |
animation-fill-mode:forwards; |
애니메이션이 시작되기 전이나 끝나고 난 후 어떤값이 적용될지 지정합니다. |
animation-play-state |
animation-play-state:paused; |
애니메이션의 실행상태를 지정합니다. |
@keyframes
sample1
sample2
sample3
sample4
sample5
sample6
sample7
sample8
sample3
animation50
animation51
animation52
loading Animation
바 양끝에 원을 붙인 후 바를 돌린다(바=가상으로 공간만잡아줌)
mediumaquamarine / palevioletred / khaki