You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -631,50 +630,50 @@ <h3 id=animation-name-property><span class=secno>3.2. </span> The ‘<a
631
630
grammar</abbr>
632
631
</table>
633
632
<!--
634
-
<p>
635
-
It is possible for elements to have multiple animations running that change the same property or properties. In this case the animations combine in a manner defined by the property. For example, animations on 'opacity' will add together and animations on 'transform' will have their transformation matrices multiplied.
636
-
637
-
<div class="example">
638
-
<p style="display:none">
639
-
Example(s):
640
-
641
-
<pre>
642
-
@keyframes 'border-bloat' {
643
-
from {
644
-
border-width: 0;
645
-
}
646
-
to {
647
-
border-width: 10px;
648
-
}
649
-
}
650
-
651
-
@keyframes 'border-diet' {
652
-
from {
653
-
border-width: 4px;
654
-
}
655
-
to {
656
-
border-width: 2px;
657
-
}
658
-
}
659
-
660
-
div {
661
-
animation-name: 'border-bloat', 'border-diet';
662
-
animation-duration: 10s, 4s;
663
-
}
664
-
</pre>
665
-
<p>
666
-
The above example has two animations executing on the same property, 'border-width'. The animations are additive. That is, the
667
-
resulting value for the property will be the addition of the values from the
668
-
two animations.
669
-
670
-
<p>
671
-
At time '0s' the element's border will be 4px wide (0px from 'border-bloat' plus 4px from 'border-diet').
672
-
At time '4s' the element's border will be 6px wide (4px from 'border-bloat' plus 2px from 'border-diet').
673
-
At time '10s' the element's border will be 10px wide (10px from 'border-bloat' and no addition from
674
-
'border-diet' as it is no longer executing).
675
-
676
-
</div>
677
-
-->
633
+
<p>
634
+
It is possible for elements to have multiple animations running that change the same property or properties. In this case the animations combine in a manner defined by the property. For example, animations on 'opacity' will add together and animations on 'transform' will have their transformation matrices multiplied.
635
+
636
+
<div class="example">
637
+
<p style="display:none">
638
+
Example(s):
639
+
640
+
<pre>
641
+
@keyframes 'border-bloat' {
642
+
from {
643
+
border-width: 0;
644
+
}
645
+
to {
646
+
border-width: 10px;
647
+
}
648
+
}
649
+
650
+
@keyframes 'border-diet' {
651
+
from {
652
+
border-width: 4px;
653
+
}
654
+
to {
655
+
border-width: 2px;
656
+
}
657
+
}
658
+
659
+
div {
660
+
animation-name: 'border-bloat', 'border-diet';
661
+
animation-duration: 10s, 4s;
662
+
}
663
+
</pre>
664
+
<p>
665
+
The above example has two animations executing on the same property, 'border-width'. The animations are additive. That is, the
666
+
resulting value for the property will be the addition of the values from the
667
+
two animations.
668
+
669
+
<p>
670
+
At time '0s' the element's border will be 4px wide (0px from 'border-bloat' plus 4px from 'border-diet').
671
+
At time '4s' the element's border will be 6px wide (4px from 'border-bloat' plus 2px from 'border-diet').
672
+
At time '10s' the element's border will be 10px wide (10px from 'border-bloat' and no addition from
673
+
'border-diet' as it is no longer executing).
674
+
675
+
</div>
676
+
-->
678
677
679
678
<h3id=animation-duration-property><spanclass=secno>3.3. </span> The ‘<a
0 commit comments