2013-10-11 3 views
0

파이어 폭스 11 정식 작동하지 이건 내 CSS를선형 그라데이션 우분투

* { 
    background: linear-gradient(to right, blue, white); 
    } 

하고 내 HTML은 필수 태그 (아무 div의, 아니 아무것도)

<!DOCTYPE html> 
<html> 

<head> 
<meta http-equiv="refresh" content="10"> 
<link rel="stylesheet" type="text/css" href="main.css"> 
</head> 
<title>Corruption in India</title> 

<body> 
</body> 
</html> 

이다 그러나 그 바로 나타나지 않는

답변

3

Firefox 11은 새로운 그라디언트 구문을 지원하지 않습니다. 이전 버전에 사용하는 표기법은 다음과 같습니다.

background: -moz-linear-gradient(left, blue, white); 

두 가지 (그리고 나머지 접두사)를 사용하여 물론 모든 기본을 커버합니다.

+0

나는 경쟁을 디자인하는 html CSS 웹 페이지에서 이렇게하고있다. 그래서 브라우저를 업데이트하고 나와 랩톱을 가져가는 것이 더 낫지 않을 것이다. –

관련 문제