Bonsoir à tous,
Je souhaite "scaler" une div de 4px de haut et de 20px de large en div de 4px de haut mais de 720px de large.
J'ai écrit ce script après beaucoup de surf avec "notre ami" :
Je souhaite que cette animation s'active au chargement de la page mais rien ne fonctionne, pourquoi ?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37 #chargementVisuel { float:left; left:45%; width:20px; /* 720px */ margin-left:-350px; height:4px; border:0px solid #006699; background-color: #006699; z-index:999; position:absolute; bottom:26px; -webkit-animation: barreChargement 4s ease-out 0s 1 normal forwards ; -moz-animation: barreChargement 4s ease-out 0s 1 normal forwards ; -o-animation: barreChargement 4s ease-out 0s 1 normal forwards ; -ms-animation: barreChargement 4s ease-out 0s 1 normal forwards ; animation: barreChargement 4s ease-out 0s 1 normal forwards ; } @keyframes barreChargement { 0% {} 100% {transform: scale(36, 1)} } @-webkit-keyframes barreChargement { 0% {} 100% {transform: scale(36, 1)} } @-moz-keyframes barreChargement { 0% {} 100% {transform: scale(36, 1)} } @-o-keyframes barreChargement { 0% {} 100% {transform: scale(36, 1)} } @-ms-keyframes barreChargement { 0% {} 100% {transform: scale(36, 1)} }
Si qqu'un peut m'orienter vers une piste, d'avance merci ?
Partager