background: -moz-linear-gradient(top, blue, white);//-webkit-linear-gradient(top, blue, white)谷歌线性渐变,-moz-火狐浏览器,top为方向,blue为起点颜色,white为结束颜色topleftback...
分类:
Web程序 时间:
2015-11-30 19:59:59
阅读次数:
139
1.css基础语法Css规则由两个主要的部分组成:选择器,声明.Selector{declaration1;...declarationN;}如:H1{font-size:32px;color:blue}H1:选择器Font-size:32px,color:blue:声明2.css的三种定义方法内联...
分类:
Web程序 时间:
2015-11-29 22:44:05
阅读次数:
265
a:link{color:red}/*未被访问的链接的颜色*/a:visited{color:blue}/*已被访问之后的颜色*/a:hover{color:green}/*鼠标悬浮在链接上的颜色*/a:active{color:block}/*正在被点击的链接*/
分类:
其他好文 时间:
2015-11-27 20:06:50
阅读次数:
110
checkbox开关css .iosCheck { /* Blue edition */ } .iosCheck input { display: none; } .iosCheck i { display: inline-blo...
分类:
Web程序 时间:
2015-11-27 12:44:37
阅读次数:
691
PdfContentByte cb = writer.DirectContentUnder;//填充色的赋值cb.SetColorFill(BaseColor.BLUE);//边框线的赋值 cb.SetColorStroke(BaseColor.BLACK); ...
分类:
其他好文 时间:
2015-11-26 21:17:12
阅读次数:
210
$(function(){ $("button").click( function(){ var a1=""; var a2=""; var a3=""; var a4=""; var a5=""; var colors=['red','blue','green','yellow','black',...
分类:
Web程序 时间:
2015-11-24 14:17:22
阅读次数:
145
最近在复习web前端开发,在实践的时候,发现了一个问题1. 标签 p 中包含标签 div 时,样式p .div1无法起到效果,如下:为什么这个没效果p .div1{width:150px;height:150px;background:blue;}2.标签 div 包含标签 p 时,样式div .p...
分类:
其他好文 时间:
2015-11-24 09:46:24
阅读次数:
193
$colors = array('red', 'blue', 'green', 'yellow');print_r($colors);echo '';var_dump($colors);输出结果如下:Array ( [0] => red [1] =>blue [2] => green [3] => ...
分类:
其他好文 时间:
2015-11-23 18:49:41
阅读次数:
139
1 /* 2 * Sass 颜色函数 3 * RGB 颜色函数 4 * 1. rgb($red,$green,$blue):根据红、绿、蓝三个值创建一个颜色; 5 * rgb(200,40,88) //根据r:200,g:40,b:88计算出一个十六进制颜色值 6 * #c828...
分类:
其他好文 时间:
2015-11-18 23:02:01
阅读次数:
758
/*** 1. RGB背景色*/#define PPCOLOR_RGB(r,g,b) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:1]#define PPCOLOR_BG [UIColor colorWit...
分类:
其他好文 时间:
2015-11-17 12:25:25
阅读次数:
163