CSS 그림 회전

Jmnote bot (토론 | 기여)님의 2015년 7월 19일 (일) 16:35 판 (로봇: 자동으로 텍스트 교체 (-http://jmnote.com/css/ +http://zetawiki.com/ex/css/))
CSS 그림 회전

1 예시 1

<style> 
#my_image {
  -webkit-animation:my_image 6s;
}
@-webkit-keyframes my_image {
  from { -webkit-transform: rotate(0deg); }
  to { -webkit-transform: rotate(720deg) }
}
</style>
<img id="my_image" src="/w/images/jmnote_logo.png" />

2 예시 2

<style> 
#my_image {
  -webkit-animation:my_image 6s;
}
@-webkit-keyframes my_image {
  0% { -webkit-transform: rotate(0deg); }
  50% { -webkit-transform: rotate(-180deg); } 
  100% { -webkit-transform: rotate(360deg) }
}
</style>
<img id="my_image" src="/w/images/jmnote_logo.png" />

3 같이 보기

4 참고 자료

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}