標籤:style ar sp 2014 on ad ef line bs
漸層色(例子):/*1屬性:漸層角度 2屬性:顏色+空格+純色的長度(百分比、px)。。*/
/*background:-webkit-linear-gradient(top right,red 50px,yellow);*/
/*background:-webkit-linear-gradient(-135deg,red 50px,yellow);*/
/*最簡寫法*/
/*background:-moz-linear-gradient(red,yellow); */
/*rgba中的a指的是透明度*/
/*background:-webkit-linear-gradient(left top,rgba(160,232,10,1),rgba(3,188,250,0.5)); */
/*background:-webkit-linear-gradient(-135deg,rgba(160,232,10,1),rgba(3,188,250,0.5)); */
/*可以增加多個顏色,注意後面的百分比>前面的百分比*/
/*background: -webkit-radial-gradient(#eee 5px,green 15px,#faa 20px,#000 50px,red 55px);
border-radius: 100%;*/
/*重複的線性變換*/
background:-webkit-linear-gradient(red,yellow,red,green);
}
邊框圖(例子):border-image: url(11.jpg) 30 30 30 30 repeat;
選定input後出現的邊框:outline:none
限制input文字的長度:maxlenth
去<ul>的圓點:ul(list-style:none)
輸入可消失:placeholder
curson:pointer
定義索引相同li中的一個:nth-child
2014年10月15日