2013-07-22 2 views
0

CSS :이 그라디언트가 IE 9에서 작동하지 않는 이유는 무엇입니까?

background-image: linear-gradient(bottom, #000000 29%, #999999 65%); 
    background-image: -o-linear-gradient(bottom, #000000 29%, #999999 65%); 
    background-image: -moz-linear-gradient(bottom, #000000 29%, #999999 65%); 
    background-image: -webkit-linear-gradient(bottom, #000000 29%, #999999 65%); 
    background-image: -ms-linear-gradient(bottom, #000000 29%, #999999 65%); 
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0.29, #000000), color-stop(0.65, #999999)); 
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#000000', endColorstr='#999999'); 

되지 않는 이유는 그라데이션 작품의 IE 버전? 내가 뭘 잘못 찾은 것 같지 않아?

답변

0

하는 GradientType 속성을 설정하십시오 :

filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#000000', endColorstr='#999999', GradientType=0); 
0

filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#000000', endColorstr='#999999',GradientType=0); /* IE6-9 * 

background: -ms-linear-gradient(top, rgba(0,0,0,1) 0%,rgba(153,153,153,1) 100%); /* IE10+ */ 
시도
관련 문제