2011-05-17 134 views

回答

3

背景漸變:

background: -moz-linear-gradient(center top , #ededed, #ededed) repeat scroll 0 0 transparent; 
border: 1px solid #e1e1e1; 
/* For WebKit (Safari, Google Chrome etc) */ 
background: -webkit-gradient(linear, left top, left bottom, from(#ededed), to(#ededed)); 
/* For Mozilla/Gecko (Firefox etc) */ 
background: -moz-linear-gradient(top, #ededed, #ededed); 
/* For Internet Explorer 5.5 - 7 */ 
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ededed, endColorstr=#ededed); 
/* For Internet Explorer 8 */ 
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#ededed, endColorstr=#ededed)"; 

文字陰影效果:

box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); 
-moz-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2); 
-webkit-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2); 
box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);