自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

[暂停使用]任先阳

个人笔记,不喜勿喷。

  • 博客(5)
  • 收藏
  • 关注

原创 position、盒模型的故事

可以看出来,和margin没什么关系、、<body><style> * { margin: 0; padding: 0; } .container { position: relative; padding: 40px; margin: 40px; ...

2019-06-26 22:41:19 116

原创 margin、padding、position的故事

4个例子,margin同理正常使用:<body><div style="width:1200px;height: 400px;background-color: blue;"> <div style="padding-top: 10%;"> <p style="position: relative"> ...

2019-06-26 22:03:28 216

原创 require.context

const components = {} const fileLoader = require.context('./', false, /.*\/(?!\bindex\b).*\.vue/) // 形式[./a.vue],dou fileLoader.keys().forEach(path => { const fName = path.match(/....

2019-06-25 16:19:19 556

原创 js2jscode

const js2jscode = (function() { function main(target) { const targetType = Object.prototype.toString.call(target).match(/\[object\s(.*?)]/)[1]; let code = ''; switch (targ...

2019-06-21 08:50:09 562

原创 OPTIONS请求调优

# 触发条件- 必须,跨域- 必须,符合预检请求# 优化方案- 前提,浏览器需关闭disabled cache,https://my.oschina.net/mobinchao/blog/908834- 原理,Access-Control-Max-Age# democonst http = require('http');http.createS...

2019-06-15 11:11:19 1142

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除