myheats-website

Website for myheats
git clone https://git.in0rdr.ch/myheats-website.git
Log | Files | Refs | Pull requests |Archive | README | LICENSE

_animation.scss (1500B)


      1 // http://www.w3.org/TR/css3-animations/#the-animation-name-property-
      2 // Each of these mixins support comma separated lists of values, which allows different transitions for individual properties to be described in a single style rule. Each value in the list corresponds to the value at that same position in the other properties.
      3 
      4 @mixin animation($animations...) {
      5   @include prefixer(animation, $animations, webkit moz spec);
      6 }
      7 
      8 @mixin animation-name($names...) {
      9   @include prefixer(animation-name, $names, webkit moz spec);
     10 }
     11 
     12 @mixin animation-duration($times...) {
     13   @include prefixer(animation-duration, $times, webkit moz spec);
     14 }
     15 
     16 @mixin animation-timing-function($motions...) {
     17   // ease | linear | ease-in | ease-out | ease-in-out
     18   @include prefixer(animation-timing-function, $motions, webkit moz spec);
     19 }
     20 
     21 @mixin animation-iteration-count($values...) {
     22   // infinite | <number>
     23   @include prefixer(animation-iteration-count, $values, webkit moz spec);
     24 }
     25 
     26 @mixin animation-direction($directions...) {
     27   // normal | alternate
     28   @include prefixer(animation-direction, $directions, webkit moz spec);
     29 }
     30 
     31 @mixin animation-play-state($states...) {
     32   // running | paused
     33   @include prefixer(animation-play-state, $states, webkit moz spec);
     34 }
     35 
     36 @mixin animation-delay($times...) {
     37   @include prefixer(animation-delay, $times, webkit moz spec);
     38 }
     39 
     40 @mixin animation-fill-mode($modes...) {
     41   // none | forwards | backwards | both
     42   @include prefixer(animation-fill-mode, $modes, webkit moz spec);
     43 }