css gradient background


background: -moz-linear-gradient( top,#ccc,#000);
background: -webkit-linear-gradient(top,#ccc,#000);
background: -o-linear-gradient(top,#ccc, #000);

background: linear-gradient(top,#ccc, #000);


1, from top to bottom is the top starting position, left from left to right, left upper left to bottom right top
2, start color,
3, end color


Background images and background colors while adding: background: url (../ ImagesRF Royalty Free / biao.png) right Center NO-REPEAT # fd3101;

Guess you like

Origin www.cnblogs.com/zjz666/p/11101170.html