SlideShare a Scribd company logo
1 of 16
CSS3 Transforms
발표자 : 이상훈
일시 : 15.01.07
Contents
 What is CSS3 Transforms
 Browser Support for 2D Transforms
 CSS3 2D Transforms methods
 translate()
 rotate()
 skew()
 Animation
 Application examples 3-1
 Application examples 3-2
 Application examples 3-3
 Reference sites
What is CSS3 Transforms
 With CSS3 transform we can move, scale, turn, spin, and stretch elements.
 A transformation is an effect that lets an element change shape, size and
position.
Browser Support for 2D Transforms
 The numbers in the table specify the first browser version that fully supports
the property.
 Numbers followed by -ms-, -webkit-, -moz-, or -o- specify the first version
that worked with a prefix.
CSS3 2D Transforms methods
 In this chapter you will learn about the 2d transform methods:
1. translate()
2. rotate()
3. scale()
4. skew()
5. matrix()
And so on …
translate()
left (X-axis) and the top (Y-axis) position
rotate()
degree. Negative values counter-rotate
skew()
the horizontal (X-axis) and the vertical (Y-axis)
Animation
 animation과 transition은 둘 다 변화하고 움직이고 그 모습이 비슷해 보인다.
 하지만, animation은 @keyframes을 이용해 스타일이 바뀔 때 진행하는 시간을
지정해서 좀 더 부드럽게 변화 할 수 있다는 점에서 차이가 있다.
조건 설명
@frames 이름 %단위로 애니메이션을 적용.
0%는 from, 100%는 to로 대체가 가능하다.
animation-duration 애니메이션의 재생시간 (단위 초(s)).
기본값이 0이기 때문에 속성값을 지정하지 않으면 애니메이션은 일어나지 않는다.
animation-delay 애니메이션이 시작되기 전 대기시간 (단위 초(s)).
animation-iteration-count 애니메이션의 반복횟수.
횟수를 숫자로 표기 (무한반복 :infinite).
animation-direction 키프레임의 진행 방향.
animation-direction : normal, animation-direction : alternate (역방향).
Application examples 3-1
Application examples 3-2
Application examples 3-3(태양계)
Reference sites
 http://blog.naver.com/ttb0704/80203646933
 http://leeba37.blog.me/50174406851
 http://monolife.kr/139

More Related Content

More from SangHun Lee

Eclipse rcp 정리(enabled when, contextmenu)
Eclipse rcp 정리(enabled when, contextmenu)Eclipse rcp 정리(enabled when, contextmenu)
Eclipse rcp 정리(enabled when, contextmenu)
SangHun Lee
 

More from SangHun Lee (20)

PWA 파헤치기
PWA 파헤치기PWA 파헤치기
PWA 파헤치기
 
Angular Library
Angular LibraryAngular Library
Angular Library
 
Angular CodeLab 두번째
Angular CodeLab 두번째Angular CodeLab 두번째
Angular CodeLab 두번째
 
Angular CodeLab 첫번째
Angular CodeLab 첫번째Angular CodeLab 첫번째
Angular CodeLab 첫번째
 
Angular Popular Tools
Angular Popular ToolsAngular Popular Tools
Angular Popular Tools
 
Chrome 69 updates
Chrome 69 updatesChrome 69 updates
Chrome 69 updates
 
Angular Component Interaction
Angular Component InteractionAngular Component Interaction
Angular Component Interaction
 
Chrome 68 updates
Chrome 68 updatesChrome 68 updates
Chrome 68 updates
 
Reactive Programming with Rxjs
Reactive Programming with RxjsReactive Programming with Rxjs
Reactive Programming with Rxjs
 
Angular Features and New Things
Angular Features and New ThingsAngular Features and New Things
Angular Features and New Things
 
SSG광고의 오마주_에드워드 호퍼
SSG광고의 오마주_에드워드 호퍼SSG광고의 오마주_에드워드 호퍼
SSG광고의 오마주_에드워드 호퍼
 
[IOS말고 Android] Inflation을 이용하여 부분 Activity 띄우기
[IOS말고 Android] Inflation을 이용하여 부분 Activity 띄우기[IOS말고 Android] Inflation을 이용하여 부분 Activity 띄우기
[IOS말고 Android] Inflation을 이용하여 부분 Activity 띄우기
 
Ror 4주차(루비맛보기, form 태그)
Ror 4주차(루비맛보기, form 태그)Ror 4주차(루비맛보기, form 태그)
Ror 4주차(루비맛보기, form 태그)
 
Ror 2주차(컨트롤러 생성)
Ror 2주차(컨트롤러 생성)Ror 2주차(컨트롤러 생성)
Ror 2주차(컨트롤러 생성)
 
루비온레일즈_01_간단한 정적인 홈페이지 제작
루비온레일즈_01_간단한 정적인 홈페이지 제작루비온레일즈_01_간단한 정적인 홈페이지 제작
루비온레일즈_01_간단한 정적인 홈페이지 제작
 
Basic of web ref.웹을지탱하는기술_02
Basic of web ref.웹을지탱하는기술_02Basic of web ref.웹을지탱하는기술_02
Basic of web ref.웹을지탱하는기술_02
 
Eclipse gef
Eclipse gefEclipse gef
Eclipse gef
 
Gef 정리
Gef 정리Gef 정리
Gef 정리
 
Eclipse rcp 정리(enabled when, contextmenu)
Eclipse rcp 정리(enabled when, contextmenu)Eclipse rcp 정리(enabled when, contextmenu)
Eclipse rcp 정리(enabled when, contextmenu)
 
2015.07.01
2015.07.012015.07.01
2015.07.01
 

Css3 transforms

  • 1. CSS3 Transforms 발표자 : 이상훈 일시 : 15.01.07
  • 2. Contents  What is CSS3 Transforms  Browser Support for 2D Transforms  CSS3 2D Transforms methods  translate()  rotate()  skew()  Animation  Application examples 3-1  Application examples 3-2  Application examples 3-3  Reference sites
  • 3. What is CSS3 Transforms  With CSS3 transform we can move, scale, turn, spin, and stretch elements.  A transformation is an effect that lets an element change shape, size and position.
  • 4. Browser Support for 2D Transforms  The numbers in the table specify the first browser version that fully supports the property.  Numbers followed by -ms-, -webkit-, -moz-, or -o- specify the first version that worked with a prefix.
  • 5. CSS3 2D Transforms methods  In this chapter you will learn about the 2d transform methods: 1. translate() 2. rotate() 3. scale() 4. skew() 5. matrix() And so on …
  • 6. translate() left (X-axis) and the top (Y-axis) position
  • 8. skew() the horizontal (X-axis) and the vertical (Y-axis)
  • 9. Animation  animation과 transition은 둘 다 변화하고 움직이고 그 모습이 비슷해 보인다.  하지만, animation은 @keyframes을 이용해 스타일이 바뀔 때 진행하는 시간을 지정해서 좀 더 부드럽게 변화 할 수 있다는 점에서 차이가 있다. 조건 설명 @frames 이름 %단위로 애니메이션을 적용. 0%는 from, 100%는 to로 대체가 가능하다. animation-duration 애니메이션의 재생시간 (단위 초(s)). 기본값이 0이기 때문에 속성값을 지정하지 않으면 애니메이션은 일어나지 않는다. animation-delay 애니메이션이 시작되기 전 대기시간 (단위 초(s)). animation-iteration-count 애니메이션의 반복횟수. 횟수를 숫자로 표기 (무한반복 :infinite). animation-direction 키프레임의 진행 방향. animation-direction : normal, animation-direction : alternate (역방향).
  • 11.
  • 13.
  • 15.
  • 16. Reference sites  http://blog.naver.com/ttb0704/80203646933  http://leeba37.blog.me/50174406851  http://monolife.kr/139