2012-10-25 2 views
0

이 기사를 읽으면서 http://www.sitepoint.com/using-unprefixed-css3-gradients-in-modern-browsers/.이 기사에서 다룬 내용을 약간의 데모로 만들었습니다. Google 크롬이 배경 그래디언트를 전혀 렌더링하지 않음

<html> 
    <head> 
     <title>Css Gradients</title> 
     <style> 
      .demo{ 
       height: 200px; 
       width: 400px; 
       margin-bottom: 10px; 
       background: linear-gradient(to right,red,yellow); 
       /*background: linear-gradient(23deg,red,yellow);*/ 
      } 
      #radial{ 
       /*background: radial-gradient(at center,red,yellow);*/ 
       background: radial-gradient(circle closest-corner,red,yellow); 
      } 
     </style> 
    </head> 
    <body> 
     <div class="demo"></div> 
     <div class="demo" id="radial"></div> 
    </body> 
</html> 

지금 문제가 파이어 폭스 올바르게 배경 그라데이션을 렌더링하고있다하지만 구글 크롬 (버전 22) 순간 all.See의 배경 그라데이션 스크린 샷 Firefox Chrome

+0

이 스레드의 요점은 무엇입니까? – Rayshawn

+0

질문이 크고 분명합니다. Firefox가 프리젠 테이션 프리 그라데이션으로 렌더링되지 않는 이유를 알고 싶습니다. – rayn

답변

0

렌더링되지 않는다 (크롬 24/Safari 6) Webkit은 여전히 ​​프리 픽스되지 않은 CSS3 그라디언트에 대한 지원을 추가하지 않았습니다. IE10 (!)조차도 접두사가없는 구문을 이미 사용하고 있다는 사실을 고려하면 조금 슬픈 일입니다.

참조 : http://caniuse.com/#search=grad

관련 문제