Bonjour
J'ai un fichier CSS qui fonctionne très bien sur FIREFOX et INTERNET EXPLORER mais pas sur CHROME, SAFARI...
Comment le rendre compatible ?
Une idée ?
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56 .deplacement{ overflow:hidden; animation:marque 20s linear infinite; -webkit-animation:marque 20s linear infinite; -moz-animation:marque 20s linear infinite; -ms-animation:marque 20s linear infinite; -o-animation:marque 20s linear infinite; -webkit-transition: all ease-in-out; -moz-transition: all ease-in-out; -ms-transition: all ease-in-out; -o-transition: all ease-in-out; transition: all ease-in-out; font-size:2em; background-color: #0F9; } @keyframes marque{ 0%{transform:translateX(10%);} 20%{transform:translateX(20%);} 40%{transform:translateX(40%);} 60%{transform:translateX(60%);} 80%{transform:translateX(80%);} 100%{transform:translateX(100%);} } @-webkit-keyframes marque{ 0%{transform:translateX(10%);} 20%{transform:translateX(20%);} 40%{transform:translateX(40%);} 60%{transform:translateX(60%);} 80%{transform:translateX(80%);} 100%{transform:translateX(100%);} } @-moz-keyframes marque{ 0%{transform:translateX(10%);} 20%{transform:translateX(20%);} 40%{transform:translateX(40%);} 60%{transform:translateX(60%);} 80%{transform:translateX(80%);} 100%{transform:translateX(100%);} } @-ms-keyframes marque{ 0%{transform:translateX(10%);} 20%{transform:translateX(20%);} 40%{transform:translateX(40%);} 60%{transform:translateX(60%);} 80%{transform:translateX(80%);} 100%{transform:translateX(100%);} } @-o-keyframes marque{ 0%{transform:translateX(10%);} 20%{transform:translateX(20%);} 40%{transform:translateX(40%);} 60%{transform:translateX(60%);} 80%{transform:translateX(80%);} 100%{transform:translateX(100%);} }
Partager