• Q&A
  • 회원가입
  • 로그인

[animation] CSS - animation-timing-function 속성 - 애니재생중속도변화 (= 움직임 중 속도변경, IE10)

animation-timing-function 예제

 

<style> 

div {

  width: 300px;

  height: 100px;

  line-height:100px;

  text-align:center;

  color:white;

  background: red;

  position: relative;

  -webkit-animation: homzzang 5s infinite; /* Safari 4.0 - 8.0 */

  -webkit-animation-timing-function: linear; /* Safari 4.0 - 8.0 */

  animation: homzzang 5s infinite;

  animation-timing-function: linear;

}


/* Safari 4.0 - 8.0 */

@-webkit-keyframes homzzang {

  from {left: 0px;}

  to {left: 200px;}

}


@keyframes homzzang {

  from {left: 0px;}

  to {left: 200px;}

}

</style>


<div>홈짱닷컴 Homzzang.com</div>

 

결과보기

 

오늘도 즐겁게 열심히 .....

찾아주셔서 감사합니다. Since 2012