刚刚学正则表达式,以下所写只是正则的基本知识,如以后进行更深入的学习会再做补充的。1.定义正则表达式:#普通方式:var reg=/表达式/附加参数 eg:var reg=/white/; var reg=/white/g#构造函数:var reg=new RegExp...
分类:
其他好文 时间:
2015-05-23 09:59:25
阅读次数:
295
需要引入样式.black_overlay{display:none;position:absolute;top:0%;left:0%;width:100%;height:100%;background-color:black;z-index:1001;-moz-opacity:0.8;opacity:.80;filter:alpha(opacity=80);}.white_content{display:none;position:absolute;top:25%;left:35%;width:3..
分类:
Web程序 时间:
2015-05-21 19:55:25
阅读次数:
188
需要引入样式.black_overlay{display:none;position:absolute;top:0%;left:0%;width:100%;height:100%;background-color:black;z-index:1001;-moz-opacity:0.8;opacity:.80;filter:alpha(opacity=80);}.white_content{display:none;position:absolute;top:25%;left:35%;width:3..
分类:
Web程序 时间:
2015-05-21 19:55:04
阅读次数:
151
需要引入样式.black_overlay{display:none;position:absolute;top:0%;left:0%;width:100%;height:100%;background-color:black;z-index:1001;-moz-opacity:0.8;opacity:.80;filter:alpha(opacity=80);}.white_content{display:none;position:absolute;top:25%;left:35%;width:3..
分类:
Web程序 时间:
2015-05-21 19:53:26
阅读次数:
193
UIColor+ (UIColor *)blackColor; // 0.0 white 黑色+ (UIColor *)darkGrayColor; // 0.333 white 深灰色+ (UIColor *)lightGrayColor; // 0.667 white 亮灰色+ ...
分类:
移动开发 时间:
2015-05-21 12:38:16
阅读次数:
144
1 题目Given an array withnobjects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the order red...
分类:
其他好文 时间:
2015-05-20 23:50:14
阅读次数:
112
字符串的合并和占位符的使用 注意在%号前不能有引号。 1 # -*- coding:utf-8 -*- 2 my_name ='中国' 3 my_age =35 4 my_height =74 5 my_weight =180 6 my_teeth ='White' 7 my_hair ='Br.....
分类:
其他好文 时间:
2015-05-20 08:15:51
阅读次数:
152
[css]view plaincopyprint?span{word-break:normal;width:auto;display:block;white-space:pre-wrap;word-wrap:break-word;overflow:hidden;}white-space -- 通.....
分类:
其他好文 时间:
2015-05-19 22:18:18
阅读次数:
166
题目:Given an array withnobjects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the order red,...
分类:
其他好文 时间:
2015-05-19 12:43:50
阅读次数:
132
一般a、span、label多个组合,需要换行时,使用以下CSS来处理:1 white-space: nowrap;2 display: inline-block;
分类:
Web程序 时间:
2015-05-18 22:30:07
阅读次数:
256