Min's blog

I choose to see the beauties in the world.

导航

2017年11月16日

摘要: let 变量声明: 只在声明的代码块内有效,不允许重复声明 const 声明变量,但是声明的是常量,必须赋值, 一旦赋值,常量的值就不能改变, 只在当前代码块有效,不允许重复声明,如声明对象,对象内部数据变化与外部无关 Traceur转码器<!-- 加载Traceur编译器 --><script s 阅读全文

posted @ 2017-11-16 10:20 Min77 阅读(84) 评论(0) 推荐(0) 编辑

2017年11月13日

摘要: bShare分享插件 谷歌字体中文库 http://www.googlefonts.cn/ umindex.com友盟指数 testin.com 云测试 tingpng.com 压缩 http://www.xuanfengge.com http://www.cn-wbst.cn/html/index 阅读全文

posted @ 2017-11-13 17:24 Min77 阅读(200) 评论(0) 推荐(0) 编辑

2017年10月27日

摘要: Js/Jquery:获取iframe中的元素+在Iframe中获取父窗体的元素方法 在web开发中,经常会用到iframe,难免会碰到需要在父窗口中使用iframe中的元素、或者在iframe框架中使用父窗口的元素 js 在父窗口中获取iframe中的元素 1、 格式:window.frames[" 阅读全文

posted @ 2017-10-27 09:11 Min77 阅读(153) 评论(0) 推荐(0) 编辑

2017年10月25日

摘要: 媒体查询常用样式表:```html <link rel="stylesheet" media="all and (orientation:portrait)" href="portrait.css"> // 竖放加载 <link rel="stylesheet" media="all and (or 阅读全文

posted @ 2017-10-25 16:26 Min77 阅读(106) 评论(0) 推荐(0) 编辑

2017年10月13日

摘要: 基本使用流程:1. npm install vue-cli -g 安装 vue命令环境 验证安装ok? vue --version2. 生成项目模板 vue init <模板名> 本地文件夹名称 vue init webpack-simple#1.0 webpack simple demo 模板名: 阅读全文

posted @ 2017-10-13 08:51 Min77 阅读(106) 评论(0) 推荐(0) 编辑

2017年10月9日

摘要: 命令行运行: npm就自动为我们更新到最新版本 必须引入的模块 css-loader style-loader file-loader babel-preset-es2015 eaddrinuse 地址使用错误 阅读全文

posted @ 2017-10-09 11:49 Min77 阅读(87) 评论(0) 推荐(0) 编辑

2017年9月27日

摘要: .thisTd { background-clip: padding-box; position:relative; } 原来背景也有边界的:决定背景会盖住哪些部分。 background-clip: border-box; background-clip: padding-box; backgro 阅读全文

posted @ 2017-09-27 15:55 Min77 阅读(653) 评论(0) 推荐(0) 编辑

2017年9月19日

摘要: 轻量高效的开源JavaScript插件和库 <!-- TOC --> - [图片](#图片)- [布局](#布局)- [轮播图](#轮播图)- [弹出层](#弹出层)- [音频视频](#音频视频)- [编辑器](#编辑器)- [字符串](#字符串)- [表单](#表单)- [存储](#存储)- [动 阅读全文

posted @ 2017-09-19 10:23 Min77 阅读(150) 评论(0) 推荐(0) 编辑

2017年9月8日

摘要: 然后,当浮层出现的时候: 当浮层隐藏的时候: 可以让一部分浏览器的窗体不能滚动,但不包括Safari等浏览器,怎么办呢? 我们可以在浮层touchmove的时候,阻止默认事件达到避免滚动的问题,例如: 阅读全文

posted @ 2017-09-08 11:51 Min77 阅读(197) 评论(0) 推荐(0) 编辑

2017年9月7日

摘要: 定义针对搜索引擎的关键词:<meta name="keywords" content="meta,red" /> 定义对页面的描述:<meta name="description" content="这是meta教程" /> 定义页面的最新版本:<meta name="revised" conten 阅读全文

posted @ 2017-09-07 14:51 Min77 阅读(149) 评论(0) 推荐(0) 编辑