会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Debugor
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
···
10
下一页
2015年12月27日
关于字符的一些看法
摘要: 字符真是个令人头疼的东西,弄不好就乱码了。呵呵,所以就花了大半天自己梳理了下。嘿嘿。1 Ascii 码学过电脑的都知道,电脑中的数据存储和运算都是靠比特流进行的,也就是0,1组成的二进制代码串。但是我们不可能输入0,1这些东西到电脑里把,根本记不住啦。所以,需要把输入的东西转为那些二进制代码。这时,...
阅读全文
posted @ 2015-12-27 20:23 Debugor
阅读(288)
评论(0)
推荐(0)
2015年12月23日
正则的全局问题
摘要: 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)
2015年12月21日
模块——js功能(倒计时,幻灯)
摘要: 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)
2015年12月17日
垂直居中
摘要: 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)
2015年12月15日
css3媒体查询
摘要: @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)
less的预处理
摘要: .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)
2015年12月14日
手机幻灯
摘要: html===================================== 1 2 3 4 5 1...
阅读全文
posted @ 2015-12-14 19:45 Debugor
阅读(176)
评论(0)
推荐(0)
css3的nth-child和:nth-of-type之间的差异
摘要: 对于:nth-child选择器,意味着选择一个元素如果:这是个段落元素这是父标签的第二个孩子元素对于:nth-of-type选择器,意味着选择一个元素如果:选择父标签的第二个段落子元素 123 我是第1个p标签 我是第2个p标签 我是第3个p标签看效果。。。
阅读全文
posted @ 2015-12-14 14:33 Debugor
阅读(173)
评论(0)
推荐(0)
2015年12月6日
css 的base类
摘要: /*=================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
下一页
公告