CSS animations tutorial: Difference between revisions

The educational technology and digital learning wiki
Jump to navigation Jump to search
(Created page with "{{stub}} {{Web technology tutorial|Beginners}} <pageby nominor="false" comments="false"/> <div class="tut_goals"> ; Learning goals * Be able to create simple CSS transforms ...")
 
Line 46: Line 46:
; Official
; Official


* http://leaverou.github.io/animatable/
* http://lea.verou.me/tag/css3-animations/
** http://leaverou.github.io/animatable/
 
* http://cssanimate.com


[[Category: CSS]]
[[Category: CSS]]

Revision as of 13:50, 19 August 2014

Draft

<pageby nominor="false" comments="false"/>

Learning goals
  • Be able to create simple CSS transforms
Prerequisites
Level and target population
  • Beginners
Teaching materials
  • Example text: ....
Remarks
  • This tutorial is intended for students in educational technology or any other field that is technology intensive. For people who need less, there exist many easy CSS tutorials on the web. This text is intended for students who also must learn principles and who are willing to learn CSS by doing a project, looking at CSS code and online reference manuals.
  • Ideally, a teacher also should assign a text formatting task, during or before assigning this tutorial for reading).

Introduction

div {
    -webkit-animation: mykeyframes 5s; /* Chrome, Safari, Opera */
    animation: mykeyframes 5s;
}

/* Chrome, Safari, Opera */
@-webkit-keyframes mykeyframes {
    from {background: red;}
    to {background: yellow;}
}

/* Standard syntax */
@keyframes mykeyframes {
    from {background: blue;}
    to {background: red;}
}

Links

Official