css
文章平均质量分 66
一个造轮者
这个作者很懒,什么都没留下…
展开
-
屏蔽鼠标右键
var a={ stop:function(){ return false; } }; document.oncontextmenu=a.stop;原创 2017-09-06 18:19:41 · 174 阅读 · 0 评论 -
移动端css重置
/** * zhengpan * */ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp,原创 2017-09-06 19:38:37 · 343 阅读 · 0 评论 -
移动端边框1px处理
.border-1px, .border-bottom-1px, .border-top-1px, .border-left-1px, .border-right-1px { position: relative; } /*线条颜色 黑色*/ .border-1px::after, .border-bottom-1px::after, .border-top-1px::after, .bo原创 2017-09-06 19:40:01 · 296 阅读 · 0 评论 -
表格删除序列号自动排列序号
Document .div-1{ width:100px; height: 100px; background-color: red; } table,tr,td{ border:1px solid #CCC; border-coll原创 2017-09-06 19:46:09 · 2405 阅读 · 0 评论 -
3个跨域请求 解释异步执行
Document console.dir(Promise); // 输出构造函数 何为构造函数 白话解释 就是带有属性的函数就是构造函数 首字母大写(规范) // // 以下为3个异步 同时执行 所以下面的data1都是undefined; let dat原创 2017-09-26 01:02:06 · 303 阅读 · 0 评论 -
史上最全的移动端reset
/* * @Author: Marte * @Date: 2017-10-27 11:02:27 * @Last Modified by: zhengpan * @Last Modified time: 2017-10-28 16:12:07 */ body, dl, dd, ul, ol, h1, h2, h3, h4, h5, h6, pre,原创 2017-10-28 16:12:22 · 417 阅读 · 0 评论 -
ES6 Promise实际项目用法 (避免回调地狱)
Promise用法原创 2017-09-26 00:43:39 · 887 阅读 · 0 评论