摘要: 打开首选项-设置-用户 用以下覆盖原来配置,保存之后重新打开编辑器即可 { "dpi_scale": 1.0, "font_face": "Consolas", "font_size": 20, "ignored_packages": [ "Vintage" ], "line_padding_bot 阅读全文
posted @ 2018-11-15 22:07 紫诺花开 阅读(467) 评论(0) 推荐(0)
摘要: Mint UI 项目主页:http://mint-ui.github.io/#!/zh-cn demo:http://elemefe.github.io/mint-ui/#/ github地址:https://github.com/ElemeFE/mint-ui 中文文档地址:http://mint-ui.github.io/docs/#!/zh-cn iview iView 配套的工作流:h... 阅读全文
posted @ 2018-11-15 17:14 紫诺花开 阅读(481) 评论(0) 推荐(0)
摘要: .css { -webkit-transform-style: preserve-3d; -webkit-backface-visibility: hidden; -webkit-perspective: 1000; } 阅读全文
posted @ 2018-11-15 17:12 紫诺花开 阅读(786) 评论(0) 推荐(0)
摘要: 各大浏览器都为了节省流量,做出了优化,在用户没有行为动作时(交互)不予许自动播放 阅读全文
posted @ 2018-11-15 17:10 紫诺花开 阅读(6727) 评论(0) 推荐(0)
摘要: -webkit-user-select: none; -ms-user-select: none; -moz-user-select: none; -khtml-user-select: none; user-select: none; 阅读全文
posted @ 2018-11-15 17:03 紫诺花开 阅读(507) 评论(0) 推荐(0)
摘要: 注:此方法好像只适合PC端~ 阅读全文
posted @ 2018-11-15 17:02 紫诺花开 阅读(978) 评论(0) 推荐(0)
摘要: 水平居中的方法: 1、父级text-align:center; 2、table配合margin 3、使用定位 垂直居中的方法: 1、table-cell配合vertical-align 2、absolute配合tranform 3、全能的flex 阅读全文
posted @ 2018-11-15 16:50 紫诺花开 阅读(294) 评论(0) 推荐(0)
摘要: 两者都为外部引入css的方式。 他们的区别: 1、link属于HTML标签,而@import是css提供的 2、页面被加载时候,link会同时加载,而@import引入的文件会等到页面加载完成之后再进行渲染加载 3、@import只能在IE5以上才能识别,而link属于HTML标签,无兼容问题 4、 阅读全文
posted @ 2018-11-15 16:31 紫诺花开 阅读(209) 评论(0) 推荐(0)
摘要: json是一种轻量级的数据格式,(本质为字符串) 低版本可以使用json2.js插件来解决。下载地址:https://github.com/douglascrockford/JSON-js JSON语法:数据在名称/值对中、数据由逗号分隔、花括号保存对象、方括号保存数组 把JSON格式转成对象:JS 阅读全文
posted @ 2018-11-12 22:35 紫诺花开 阅读(28271) 评论(0) 推荐(0)
摘要: indexOf和includes都代表检测数组或字符串中是否包含某一个元素 其中indexOf返回的是数值类型,而includes返回的是布尔类型 数组中的indexOf不能判断数组中是否有NaN,而includes可以做到 如果想查找某个元素在数组中的索引位置,就用indexOf 如果想查找某个元 阅读全文
posted @ 2018-11-12 21:36 紫诺花开 阅读(5172) 评论(0) 推荐(1)