摘要: 默认 -- header: { 'content-type': 'application/x-www-form-urlencoded' } 1.application/x-www-form-urlencoded(表单形式) ``{user:1234,pwd:1234} =》 user=1234&pw 阅读全文
posted @ 2018-11-22 15:24 Yo! 阅读(295) 评论(0) 推荐(0)
摘要: 一、软件 # 开发工具 1.Visual Studio Code:【Tools】——VS Code 插件推荐合集 (vue高亮插件(Vetur)) 插件 ①.Trailing Spaces:高亮那些冗余的空格,可以快速删掉 ②.Vetur:vuejs ③.Awesome Flutter snippe 阅读全文
posted @ 2018-11-20 10:04 Yo! 阅读(561) 评论(0) 推荐(0)
摘要: 1.flex(不用宽高) 父元素 display: flex; justify-content: center; align-items: center; 3.translate(不用宽高) 父 position: relative; 子 position: absolute; top: 50%; 阅读全文
posted @ 2018-11-16 12:48 Yo! 阅读(300) 评论(0) 推荐(0)
摘要: 概念: A callback is a function that is passed as an argument to another function and is executed after its parent function has completed. 回调函数()通过参数的形式传 阅读全文
posted @ 2018-09-24 12:31 Yo! 阅读(211) 评论(0) 推荐(0)
摘要: 1.事件委托或事件代理 var oUl = document.getElementById('ul').addEventListener('click',function(){}) https://www.cnblogs.com/liugang-vip/p/5616484.html 事件捕获(网景) 阅读全文
posted @ 2018-08-23 00:01 Yo! 阅读(297) 评论(0) 推荐(0)
摘要: shortcut和bookmark两者说明 shortcut各浏览器兼容 icon制作 参考 1.shortcut和bookmark两者说明 shortcut icon:特指浏览器中地址栏左侧显示的图标,一般放大小为16x16 或者 32*32(再大是完全没有必要的!16、32、48、64、128、 阅读全文
posted @ 2018-06-12 23:54 Yo! 阅读(810) 评论(0) 推荐(0)
摘要: 一、节点 节点类型 元素 文本 属性(getAttribute、 setAttribute) <div id="app" name="main">Hello!</div> <script> let node = document.querySelector('#app'); console.log( 阅读全文
posted @ 2018-05-06 17:50 Yo! 阅读(238) 评论(0) 推荐(0)
摘要: - document >forms、images、links - location >href、reload() - history >go(-1) == back()go(1) == forward() - navigator - screen 例子1 - frames - [open()](ht 阅读全文
posted @ 2018-05-06 17:44 Yo! 阅读(146) 评论(0) 推荐(0)
摘要: 1.1、inline-block 4px 间隙 移除空格 使用margin负值 使用font-size:0 letter-spacing word-spacing 1.2、 清除浮动的方法,各有什么特点? 来自:搜道网前端开发面试题 参考: a:overflow:hidden b:clear:bot 阅读全文
posted @ 2018-04-19 12:56 Yo! 阅读(185) 评论(0) 推荐(0)
摘要: doctype WEB 标准以及 W3C 的理解与认识 xhtml 和 html 有什么区别 块级元素 yu 内联元素 语义化 微格式 编码方式 manifest video img 1.doctype <!doctype>声明必须处于 HTML 文档的头部,在<html>标签之前,HTML5 中不 阅读全文
posted @ 2018-04-19 12:22 Yo! 阅读(863) 评论(0) 推荐(0)