색상

2012-02-26 2 views
0

시뮬레이터하는 장치 다를 I이 스타일이있는 HTML 파일에서 읽고이있는 UIWebView 있습니다색상

<style type="text/css"> 
    body { 
     padding: 0 10px 0 10px; 
     background-image: linear-gradient(bottom, rgb(9,57,48) 0%, rgb(54,97,71) 0%, rgb(120,169,118) 80%); 
     background-image: -o-linear-gradient(bottom, rgb(9,57,48) 0%, rgb(54,97,71) 0%, rgb(120,169,118) 80%); 
     background-image: -moz-linear-gradient(bottom, rgb(9,57,48) 0%, rgb(54,97,71) 0%, rgb(120,169,118) 80%); 
     background-image: -webkit-linear-gradient(bottom, rgb(9,57,48) 0%, rgb(54,97,71) 0%, rgb(120,169,118) 80%); 
     background-image: -ms-linear-gradient(bottom, rgb(9,57,48) 0%, rgb(54,97,71) 0%, rgb(120,169,118) 80%); 

     background-image: -webkit-gradient(
     linear, 
     left bottom, 
     left top, 
     color-stop(0, rgb(9,57,48)), 
     color-stop(0, rgb(54,97,71)), 
     color-stop(0.8, rgb(120,169,118)) 
     ); 
    } 
</style> 

내가 아이폰 시뮬레이터 모든 것을 그것을 실행하는거야 순조롭게 진행하고 그 모양을 :

simulator

내가 장치에서 실행 해요 때 문제가

, 그것은 (이미지의 buttom의 확인) 그 다음과 같습니다

device

어떻게 흐리게 흰 끝을 사라지게 할 수 있습니까?

답변

1

흰색 그라데이션을 100 % (1.0)로 변경하십시오.

+0

어떻게하면됩니까? –

+0

'bottom, rgb (9,57,48) 0 %, rgb (54,97,71) 0 %, rgb (120,169,118) 80 %'하단, rgb (9,57,48) 0 %, rgb (0.8, rgb (120,169,118))'은 컬러 스톱 (1.0, rgb (120,169,118))이어야한다. . – jrtc27