Tôi đang thử mã sau nhưng tôi không thấy bất kỳ loại chuyển đổi nào.Thuộc tính nền RGBA không được hỗ trợ bởi CSS3 Transitions?
#menu .col_1 a{
-webkit-transition: all .5s ease-out 0.1s;
-moz-transition: all .5s ease-out 0.1s;
-o-transition: all .5s ease-out 0.1s;
transition: all .5s ease-out 0.1s;
}
#menu .col_1 a:hover{
background-color: rgb(255, 255, 255);
background-color: rgba(255, 255, 255, 0.5);
/* For IE 5.5 - 7*/
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000);
/* For IE 8*/
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000)";
}
Tôi đã gây rối điều gì đó hoặc kiểu chuyển đổi này không được hỗ trợ? Di chuột đang hoạt động chính xác, tôi không thấy bất kỳ chuyển đổi nào.
[Nó làm việc cho tôi] (http: // jsfiddle .net/sNyVq /). Bạn đang thử nghiệm trình duyệt nào? IE9 và thấp hơn không hỗ trợ chuyển tiếp CSS. –