码迷,mamicode.com
首页 > 其他好文 > 详细

2014年10月15日

时间:2014-10-15 21:01:01      阅读:160      评论:0      收藏:0      [点我收藏+]

标签: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日

标签:style   ar   sp   2014   on   ad   ef   line   bs   

原文地址:http://www.cnblogs.com/moer/p/4027032.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!