06 2014 档案
摘要:-webkit-text-size-adjust:none;中文版chrome浏览器里字体显示仍为12px的bug-webkit-appearance: none;修复iphone圆角的bug-webkit-tap-highlight-color:rgba(0,0,0,0);去除手机点击蓝色背景-w...
阅读全文
摘要:支持少数名族:[\u4E00-\u9FA5]{2,5}(?:·[\u4E00-\u9FA5]{2,5})*
阅读全文
摘要:var d = new Date();d.setDate(d.getDate()-7);//前七天//20140623这样的格式d = d.toLocaleDateString().replace(/[\u4e00-\u9fa5]/g,'-').replace(/-$/,'').replace(/\...
阅读全文
摘要:\b代表字与字中间那个看不见的东西 两边只要没有数字、字母、汉字、下划线,如here is a word那么,这句中有好几个\b, 每个单词的前后都有一个\b.所以你用 \bhere\b 可以匹配上面这个here,但如果here 不是一个单词,而是一个单词的一部分,如 adheread, 这样的话,...
阅读全文
摘要:很多情况下图片上下没法居中 可以用.inputList *{ vertical-align:middle;}
阅读全文
摘要:在一些浏览器中placeholder 不能居中 往上偏移,一般我们用line-height ,只需要line-height:normal;
阅读全文
浙公网安备 33010602011771号