Dans le site Web (www.kkbio.co.uk) j'ai créé un script qui fixe la barre de navigation sur le dessus et le logo change en version plus petite par transition CSS3. Cela fonctionne dans Google Chrome, mais dans Firefox ce n'est pas le cas. Les autres transitions ne fonctionnent pas aussi. Je ne sais pas pourquoi) Aidez-moi s'il vous plaît :)CSS3 transition ne fonctionne pas dans firefox
par exemple:
.navbar-brand {
margin-right: 0px;
padding: 0;
width: 342px;
height: 82px;
margin-left: 15px;
margin-top: 15px;
-moz-transition: height 0.5s, background-position 0.5s, margin-top 0.5s ease;
-webkit-transition: height 0.5s, background-position 0.5s, margin-top 0.5s ease;
-o-transition: height 0.5s, background-position 0.5s, margin-top 0.5s ease;
transition: height 0.5s, background-position 0.5s, margin-top 0.5s ease;
}
.fixed .navbar-brand {
height: 74px;
margin-top: -5px;
background-position: 0 -82px!important;
}
<a class="navbar-brand" href="http://kkbio.co.uk/" style="background-image:url(http://kkbio.co.uk/wp-content/uploads/2013/08/copy-logo1.png);"></a>
bienvenue à SO. Veuillez poster votre script ici - c'est une bonne pratique pour nous aider à résoudre votre problème plus rapidement. – Nogard