會有負荷量過大的問題出現讓整個瀏覽器變慢
解決的辦法就是用 filter 去代替相同的效果
就會得到很明顯的改善
- .Action{
- visibility:hidden;
- _visibility:visible;/* for IE6 */
- _filter:alpha(opacity=0);/* for IE6 */
- }
- .Action:hover{
- visibility:visible;
- _filter:alpha(opacity=100);/* for IE6 */
- }
.Action{
visibility:hidden;
_visibility:visible;/* for IE6 */
_filter:alpha(opacity=0);/* for IE6 */
}
.Action:hover{
visibility:visible;
_filter:alpha(opacity=100);/* for IE6 */
}
0 回應:
張貼留言