웹 사이트 (www.kkbio.co.uk)에서 탐색 모음을 수정하고 CSS3 전환으로 로고가 더 작은 버전으로 변경되는 스크립트를 만들었습니다. Google 크롬에서 작동하지만 파이어 폭스에서는 그렇지 않습니다. 다른 전환도 효과가 없습니다. 나는 나를 예를 들어CSS3 전환이 파이어 폭스에서 작동하지 않습니다.
:) 제발 도와주세요) 이유를 모르는 : 당신은 !important
을 사용했습니다
.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>
환영 SO합니다. 스크립트를 여기에 게시하십시오. 문제를 더 빨리 해결할 수 있도록 도와주는 것이 좋습니다. – Nogard