上一页 1 2 3 4 5 6 7 8 ··· 10 下一页
摘要: 字符真是个令人头疼的东西,弄不好就乱码了。呵呵,所以就花了大半天自己梳理了下。嘿嘿。1 Ascii 码学过电脑的都知道,电脑中的数据存储和运算都是靠比特流进行的,也就是0,1组成的二进制代码串。但是我们不可能输入0,1这些东西到电脑里把,根本记不住啦。所以,需要把输入的东西转为那些二进制代码。这时,... 阅读全文
posted @ 2015-12-27 20:23 Debugor 阅读(288) 评论(0) 推荐(0)
摘要: var str = "123#abc";var re = /abc/ig;console.log(re.test(str)); //输出tureconsole.log(re.test(str)); //输出falseconsole.log(re.test(str)); //输出tureconsole... 阅读全文
posted @ 2015-12-23 18:26 Debugor 阅读(182) 评论(0) 推荐(0)
摘要: var Global={};Global.namespace = function (str) { var arr=str.split('.'), o=Global; for(var i= 0,len=arr.length;i 0){ setTi... 阅读全文
posted @ 2015-12-21 22:49 Debugor 阅读(181) 评论(0) 推荐(0)
摘要: 1211111 .wrap{width: 500px;padding: 20px 0;}父元素高度不确定,父元素高度确定的垂直居中方法一 112 112 112 112 td的vertical-align默认middle,不用设置td{... 阅读全文
posted @ 2015-12-17 14:39 Debugor 阅读(134) 评论(0) 推荐(0)
摘要: 方法一 1 1 1 1 1 1 1 1 1 1 .wrap{width: 1000... 阅读全文
posted @ 2015-12-17 14:21 Debugor 阅读(347) 评论(0) 推荐(0)
摘要: @media (min-width: 320px) { html { font-size: 100px; }}@media (min-width: 360px) { html { font-size: 112.5px; }}@media (min-width: 400px) { ... 阅读全文
posted @ 2015-12-15 21:02 Debugor 阅读(200) 评论(0) 推荐(0)
摘要: .flex(@a:1){-webkit-flex:@a;-ms-flex:@a;flex:@a;}.fl{float:left;}.fr{float:right;}.df{display:-webkit-flex;display:-ms-flexbox;display:flex;}.poa(@lef... 阅读全文
posted @ 2015-12-15 18:14 Debugor 阅读(214) 评论(0) 推荐(0)
摘要: html===================================== 1 2 3 4 5 1... 阅读全文
posted @ 2015-12-14 19:45 Debugor 阅读(176) 评论(0) 推荐(0)
摘要: 对于:nth-child选择器,意味着选择一个元素如果:这是个段落元素这是父标签的第二个孩子元素对于:nth-of-type选择器,意味着选择一个元素如果:选择父标签的第二个段落子元素 123 我是第1个p标签 我是第2个p标签 我是第3个p标签看效果。。。 阅读全文
posted @ 2015-12-14 14:33 Debugor 阅读(173) 评论(0) 推荐(0)
摘要: /*=================base 类需在任何页面中引入,包括css reset和一些原子类===================*//* reset */html,body,h1,h2,h3,h4,h5,h6,div,dl,dt,dd,ul,ol,li,p,blockquote,pre... 阅读全文
posted @ 2015-12-06 10:54 Debugor 阅读(253) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 10 下一页