2015_2016:s1:webdoc:td5
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
2015_2016:s1:webdoc:td5 [2015/11/29 18:55] – urli | 2015_2016:s1:webdoc:td5 [2015/11/30 12:30] (current) – [Manier les selecteurs comme personne] urli | ||
---|---|---|---|
Line 6: | Line 6: | ||
<box round rgb(185, | <box round rgb(185, | ||
- | * Votre mission si vous l' | + | * Votre mission si vous l' |
* supprimer tous les classes ou id (O_o). | * supprimer tous les classes ou id (O_o). | ||
* appliquer les styles uniquement via les selecteurs (http:// | * appliquer les styles uniquement via les selecteurs (http:// | ||
Line 46: | Line 46: | ||
* Type de champs HTML5 : email, tel, number, url, range, color, date, search (http:// | * Type de champs HTML5 : email, tel, number, url, range, color, date, search (http:// | ||
</ | </ | ||
+ | |||
+ | ===== Transformations, | ||
+ | |||
+ | |||
+ | <box round rgb(185, | ||
+ | * Dans ce qui suit, amusez-vous en animant votre page personnelle en introduisant des animations. | ||
+ | </ | ||
+ | ==== Déplacement au survol de l' | ||
+ | |||
+ | |||
+ | <code css> | ||
+ | img:hover { | ||
+ | -webkit-transform: | ||
+ | /* -moz-transform: | ||
+ | -ms-transform: | ||
+ | -o-transform: | ||
+ | transform: translate(0, | ||
+ | */ | ||
+ | } | ||
+ | </ | ||
+ | (source : http:// | ||
+ | |||
+ | |||
+ | ==== Changement de couleur d'un lien doucement ==== | ||
+ | |||
+ | <code css> | ||
+ | a { | ||
+ | font-size: 3em; | ||
+ | font-weight: | ||
+ | color: #789; | ||
+ | text-decoration: | ||
+ | | ||
+ | -webkit-transition-duration: | ||
+ | |||
+ | /* Pour Firefox */ | ||
+ | /* -moz-transition-property: | ||
+ | -moz-transition-duration: | ||
+ | |||
+ | /* … et lorsque ce sera standardisé | ||
+ | transition-property: | ||
+ | transition-duration: | ||
+ | |||
+ | } | ||
+ | </ | ||
+ | |||
+ | (source : http:// | ||
+ | ==== Amusez-vous ==== | ||
+ | |||
+ | |||
+ | |||
+ | http:// | ||
+ | |||
+ | |||
+ | |||
+ | Regardez et amusez vous à partir du [[ http:// | ||
+ | |||
+ | Par exemple : | ||
+ | <code css> | ||
+ | .move {-webkit-animation: | ||
+ | @-webkit-keyframes anim2 | ||
+ | { | ||
+ | from {left: 0px; | ||
+ | | ||
+ | | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | |||
+ | Et un peu plus : http:// |
2015_2016/s1/webdoc/td5.txt · Last modified: 2015/11/30 12:30 by urli