- 博客(11)
- 收藏
- 关注
原创 史上最全的移动端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
原创 3个跨域请求 解释异步执行
Document console.dir(Promise); // 输出构造函数 何为构造函数 白话解释 就是带有属性的函数就是构造函数 首字母大写(规范) // // 以下为3个异步 同时执行 所以下面的data1都是undefined; let dat
2017-09-26 01:02:06 303
原创 原生js TAB切换
Document *{ margin: 0; padding: 0; } img{ border:0; } ol, ul ,li{list-style: none;} .div-1{ width:
2017-09-06 19:48:49 267 1
原创 表格删除序列号自动排列序号
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
原创 原生冒泡机制
Document *{ margin: 0; padding: 0; } img{ border:0; } ol, ul ,li{list-style: none;} div{ width:100%
2017-09-06 19:44:11 236
原创 Vue生命周期详解
{{ message }} var app = new Vue({ el: '#app', data: { message : "xuxiao is boy" }, beforeCreate: function () { console.group('beforeCreate 创建前状
2017-09-06 19:41:45 452
原创 移动端边框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
原创 移动端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
原创 移动端rem文字自适式
(function (doc, win) { // html var docEl = doc.documentElement, resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize', recalc = function () {
2017-09-06 19:34:52 251
原创 屏蔽鼠标右键
var a={ stop:function(){ return false; }}; document.oncontextmenu=a.stop;
2017-09-06 18:19:41 174
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人