Upgrade to Pro — share decks privately, control downloads, hide ads and more …

CSS animations and transitions

TriLan
April 11, 2014

CSS animations and transitions

TriLan

April 11, 2014

Transcript

16 slides
  1. Общее 1. Указываешь, какое свойство изменяется 2. Функция timing(easing) 3.

    Продолжительность 4. Отслеживание событий через JS 5. Анимирование 5
  2. Управление через JS 1. getComputedStyle и getPropertyValue var box =

    document.getElementsByClassName('box')[0], computedStyle = window. getComputedStyle(box) , width = computedStyle. getPropertyValue('width') ; 01. 02. 03. 10
  3. Ссылки • CSS transition • CSS animation • CSS3: Animations

    vs. Transitions • Controlling CSS Animations and Transitions with JavaScript • High Performance Animations 15

More Decks by TriLan

Other Decks in Programming