02 2017 档案

摘要:设置了background-position的元素的左上角为顶点,xy正方向是朝右朝下的,元素左上角要回到精灵图左上角的顶点需要向上和向左偏移,则x和y都是负值,所以说使用background-position的值都是负值。 阅读全文
posted @ 2017-02-26 15:29 没有发条的橙 阅读(132) 评论(0) 推荐(0)
摘要:HTML ul>li.item-$*10>a ctrl+w 包裹标签 alt +鼠标 行多选 CSS db(d-b) display: block; p1-2-3 padding: 1px 2px 3px; 改变1 ctrl+↑ or ↓ 改变0.1 alt+ ↑ or ↓ 改变10 cmd+alt 阅读全文
posted @ 2017-02-25 21:19 没有发条的橙 阅读(132) 评论(0) 推荐(0)
摘要:1. web hek 找到渠道:搜索height 100% http://www.webhek.com/post/css-100-percent-height.html 阅读全文
posted @ 2017-02-25 11:34 没有发条的橙 阅读(70) 评论(0) 推荐(0)
摘要:开启vim模式: 在菜单栏中: Preferences -> Setting - User 即可打开配置文件进行编辑,将 ignored_packages 项的[]里面内容清空:"ignored_packages": [] 再按 Esc 退出编辑模式,即进入了 Vim 模式。 阅读全文
posted @ 2017-02-23 15:04 没有发条的橙 阅读(336) 评论(0) 推荐(0)
摘要:至于说为什么当初就决定外部样式表用link href来链接,而不是用style src来载入,可能是因为先贤们认为样式表更符合外部链接资源的特征,它更接近附属的资源,而不是内嵌的内容。比如考虑alternate stylesheets,在同一时间只需要链接一组样式表,而不是载入所有。 作者:贺师俊链 阅读全文
posted @ 2017-02-16 11:08 没有发条的橙 阅读(333) 评论(0) 推荐(0)
摘要:http://blog.csdn.net/isaisai/article/details/45394885 阅读全文
posted @ 2017-02-15 18:45 没有发条的橙 阅读(125) 评论(0) 推荐(0)
摘要:http://www.jianshu.com/p/c828dea65e07 阅读全文
posted @ 2017-02-15 15:04 没有发条的橙 阅读(108) 评论(0) 推荐(0)
摘要:https://github.com/SublimeCodeIntel/SublimeCodeIntel/issues/461 Thanks to @catgsmith ,I find a similar way to solve this problem in Windows: 第一步:在subl 阅读全文
posted @ 2017-02-12 18:02 没有发条的橙 阅读(1033) 评论(0) 推荐(0)
摘要:stackoverflow上的答案,所以有英文,顺手翻译了一部分. 点击Tools -> New Plugin 打开这个 Then paste this over the file, hit save and call it "DefaultLanguage.py" or something 赋值如 阅读全文
posted @ 2017-02-10 20:32 没有发条的橙 阅读(1640) 评论(2) 推荐(0)
摘要:http://blog.csdn.net/renfufei/article/details/24644655 阅读全文
posted @ 2017-02-10 16:32 没有发条的橙 阅读(89) 评论(0) 推荐(0)
摘要:1. <a> 标签不要用target 2. meta <meta name="keywords" content=","> 阅读全文
posted @ 2017-02-10 13:21 没有发条的橙 阅读(73) 评论(0) 推荐(0)
摘要:alt+shift + num1234 layout view 阅读全文
posted @ 2017-02-10 09:02 没有发条的橙 阅读(99) 评论(0) 推荐(0)
摘要:必须装emmet才能使用 html:xt xthml ! html5 阅读全文
posted @ 2017-02-10 08:58 没有发条的橙 阅读(96) 评论(0) 推荐(0)
摘要:win+D 返回桌面 win+E Explorer 我的电脑 F11 全屏/退出全屏 阅读全文
posted @ 2017-02-10 07:40 没有发条的橙 阅读(103) 评论(0) 推荐(0)
摘要:http://blog.csdn.net/xiazdong/article/details/7270593 1. xml标签区分大小写 2. 至少需要一个元素 3. CDATA 字符数据 PCDATA 已解析字符数据 CDATA: <![CDATA[...]]> 4. 实体 内容占位符,用于内容转义 阅读全文
posted @ 2017-02-08 20:30 没有发条的橙 阅读(112) 评论(0) 推荐(0)
摘要:http://www.thinkphp.cn/topic/9688.html 阅读全文
posted @ 2017-02-08 14:18 没有发条的橙 阅读(109) 评论(0) 推荐(0)
摘要:1. frameset 不能用相对地址,省去某些参数,就会无法定位。 2. src 用admin.php/Admin/Index/head.html来拼接 head.html中的link地址 可以用模板替换常量 测试方法直接在html中写就能看到效果。 http://document.thinkph 阅读全文
posted @ 2017-02-08 08:18 没有发条的橙 阅读(216) 评论(0) 推荐(0)
摘要:替换整个项目中的字符串 EDIT - Find in path 下面选好路径,快键键 shift+command+R 阅读全文
posted @ 2017-02-08 07:35 没有发条的橙 阅读(122) 评论(0) 推荐(0)
摘要:1到项目目录,git init 2git status 查看状态 3git add -A 添加所有文件 4git commit -m “注释” 提交 阅读全文
posted @ 2017-02-07 22:43 没有发条的橙 阅读(90) 评论(0) 推荐(0)
摘要:问题: PATHINFO模式 用index.php有效 用admin.php无效 解决方案:把Admin.php中自动生成模块的BIND_MODULE注释掉! 阅读全文
posted @ 2017-02-07 18:46 没有发条的橙 阅读(195) 评论(0) 推荐(0)
摘要:http://document.thinkphp.cn/manual_3_2.html#modules 自动生成模块目录 从3.2.2版本开始,可以支持自动生成默认模块之外的模块目录以及批量生成控制器和模型类。 例如,如果我们需要生成一个Admin模块用于后台应用,在应用入口文件中定义如下: 然后访 阅读全文
posted @ 2017-02-07 18:18 没有发条的橙 阅读(115) 评论(0) 推荐(0)

点击右上角即可分享
微信分享提示