5. CSS Transitions allows property changes in
CSS properties to occur smoothly over a
specified duration.
6. Transition-duration: Specifies the duration over which transitions should occur. You
can specify a single duration that applies to all properties during the transition, or
multiple values to allow each property to transition over a different period of time.
Transition-property: Specifies the name or names of the CSS properties to which
transitions should be applied.
Transition-delay: Defines how long to wait between the time a property is changed
and the transition actually begins.
Transition-timing-function: Specifies a function to define how intermediate values
for properties are computed. Timing functions determine how intermediate values of
the transition are calculated. Most timing functions can be specified by providing the
graph of the corresponding function, as defined by four points defining a cubic bezier.
Easyng website
10. CSS Transform property allow you to visually
manipulate an element by skewing, rotating,
translating or scaling.
11. scale: affects the size of the element. This also applies to the font-size, padding,
height, and width of an element, too.
skewX and skewY: tilts an element to the left or right, like turning a triangle into a
parallelogram. There is no shorthand skew property.
translate: moves an element sideways or up and down.
rotate: rotates the element clockwise from its current position.
Transformations-properties CSS
13. CSS animations make it possible to animate
transitions from one CSS style configuration to
another.
Animations consist of two components, a style describing the CSS animation and a set
of keyframes that indicate the start and end states of the animation's style, as well as
possible intermediate waypoints.
Advantages:
1. No JS is required.
2. Animations run well, rendering…
3. The browser optimize performance and efficiency. For example, reducing
the update frequency of animations running in tabs that aren't currently visible.
14. animation-delay
Configures the delay between the time the element is loaded and the beginning of the
animation sequence.
animation-direction
Configures whether or not the animation should alternate direction on each run
through the sequence or reset to the start point and repeat itself.
animation-duration
Configures the length of time that an animation should take to complete one cycle.
animation-iteration-count
Configures the number of times the animation should repeat; you can specify infinite
to repeat the animation indefinitely.
animation-name
Specifies the name of the @keyframes at-rule describing the animation's keyframes.
15. animation-play-state
Lets you pause and resume the animation sequence.
animation-timing-function
Configures the timing of the animation; that is, how the animation transitions through
keyframes, by establishing acceleration curves.
animation-fill-mode
Configures what values are applied by the animation before and after it is executing.
Animation-properties CSS
17. Keyframes are used to specify the values for
the animating properties at various points
during the animation.
@keyframes identifier (which will be referenced using animation-name:
identifier) {
CSS style rules
}
18. ● Keyframes use a <percentage> to indicate the time during the animation sequence
at which they take place.
● 0% Start / 100% End.
● These two times are so important, they have special aliases: from and to.
● No negative
● No higher than 100%;
● You can optionally include additional keyframes that describe intermediate steps
between the start and end of the animation.
26. Speed, movement & position.
Elements behavior depends on the scroll.
You can add to Backgrounds, divs or sprites.
ONLY CSS
WITH JS
Example
http://jonathannicol.com/projects/parallax-scrolling/
Example download
33. - Example 2 Loaders: http://callmenick.com/_development/css-loaders-and-
spinners-2/
- Slack-CSS-Logo-master -> http://callmenick.com/_development/slack-
logo/
Un curso interesante para iniciarse en Animaciones con CSS:
https://codyhouse.co/course/mastering-css-transitions-transformations-
animations/