jeudi 5 mars 2015
lundi 2 mars 2015
Memo SVG
animation
déplacement d'un objet/image selon un tracé :
<animatemotion path="xx, xx" dur="20s" repeatcount="indefinite"/>
déplacement d'un objet/image selon un tracé :
<animatemotion path="xx, xx" dur="20s" repeatcount="indefinite"/>
changer l'opacité d'un objet/image
<style>
#opacite {
opacity: 0;
-webkit-transition: all 1s;
-moz-transition: all 1s;
}
#opacite:hover {
opacity: 1;
-webkit-transition: all 1s;
-moz-transition: all 1s;
}
</style>
<image id="opacite" width="100" height="100" x="50" y="50" xlink:href="http://image.gif"/>
fin
<style>
#opacite {
opacity: 0;
-webkit-transition: all 1s;
-moz-transition: all 1s;
}
#opacite:hover {
opacity: 1;
-webkit-transition: all 1s;
-moz-transition: all 1s;
}
</style>
<image id="opacite" width="100" height="100" x="50" y="50" xlink:href="http://image.gif"/>
samedi 28 février 2015
jeudi 8 janvier 2015
vendredi 12 décembre 2014
jeudi 11 décembre 2014
samedi 29 novembre 2014
<svg width="500" height="367" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Created with SVG-edit - http://svg-edit.googlecode.com/ -->
<g>
<title>Calque 1</title>
<image xlink:href="https://farm3.staticflickr.com/2915/14741001945_c9e5f27af6.jpg" id="svg_1" height="367" width="500" y="0" x="0"/>
<image opacity="0.6" xlink:href="http://api.ning.com/files/SCaZfAgyKtp64hTbHRNg7Ute407kagxHkxFsmCP00PH0hn1s3BjcoVT1IwUHWOObJv3RDqDfmHr4aPRPvQtTCgGsW1wtEY9u/animationbugmoving.gif" id="svg_2" height="150" width="200" y="85" x="200"/>
<image transform="rotate(180 182,214) " xlink:href="http://api.ning.com/files/SCaZfAgyKtp64hTbHRNg7Ute407kagxHkxFsmCP00PH0hn1s3BjcoVT1IwUHWOObJv3RDqDfmHr4aPRPvQtTCgGsW1wtEY9u/animationbugmoving.gif" opacity="0.6" id="svg_3" height="150" width="200" y="139" x="82"/>
</g>
</svg>
<!-- Created with SVG-edit - http://svg-edit.googlecode.com/ -->
<g>
<title>Calque 1</title>
<image xlink:href="https://farm3.staticflickr.com/2915/14741001945_c9e5f27af6.jpg" id="svg_1" height="367" width="500" y="0" x="0"/>
<image opacity="0.6" xlink:href="http://api.ning.com/files/SCaZfAgyKtp64hTbHRNg7Ute407kagxHkxFsmCP00PH0hn1s3BjcoVT1IwUHWOObJv3RDqDfmHr4aPRPvQtTCgGsW1wtEY9u/animationbugmoving.gif" id="svg_2" height="150" width="200" y="85" x="200"/>
<image transform="rotate(180 182,214) " xlink:href="http://api.ning.com/files/SCaZfAgyKtp64hTbHRNg7Ute407kagxHkxFsmCP00PH0hn1s3BjcoVT1IwUHWOObJv3RDqDfmHr4aPRPvQtTCgGsW1wtEY9u/animationbugmoving.gif" opacity="0.6" id="svg_3" height="150" width="200" y="139" x="82"/>
</g>
</svg>
Inscription à :
Articles (Atom)
-
Generate
-
<html lang="fr"> <head> <title>Eyes</title> <style> html,body{ height:100%; margin:0; } #left_eye{ t...
-
Animation attribute (width, opacity, etc.) <animate attributeName="?" begin="0s" dur="6s" repeatCount...