Skip to content

armgit / anime

Public Imported from GitHub
0

JavaScript animation engine

Cleaner Colors example

Julian Garnier01454e6925c6
diff --git a/documentation/template.html b/documentation/template.html
index 8ae47da7..353f62d8 100644
--- a/documentation/template.html
+++ b/documentation/template.html
@@ -830,7 +830,7 @@ var objectPropDemo = anime({
</div>
<script>var specificUnitDemo = anime({
targets: '#specificUnitDemo .el',
- translateX: '15.625em',
+ translateX: '20em',
rotate: '1.5turn'
});
</script>
@@ -901,27 +901,24 @@ var objectPropDemo = anime({
targets: '#colors .hex',
translateX: 250,
backgroundColor: '#D1FA9E',
- color: '#17151C',
easing: 'ease',
- duration: 3000
+ duration: 2000
});
var rgb = anime({
targets: '#colors .rgb',
translateX: 250,
backgroundColor: 'rgb(138, 251, 177)',
- color: '#17151C',
easing: 'ease',
- duration: 3000
+ duration: 2000
});
var hsl = anime({
targets: '#colors .hsl',
translateX: 250,
backgroundColor: 'hsl(171, 68%, 69%)',
- color: '#17151C',
easing: 'ease',
- duration: 3000
+ duration: 2000
});
</script>
<script>