自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(63)
  • 收藏
  • 关注

转载 css 布局

http://www.iyunlu.com/view/css-xhtml/64.html作者:一丝链接:https://www.zhihu.com/question/20495297/answer/15288789来源:知乎著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。我还是那句话,把某个事物简单的归结为单一的观点都是片面的。1、...

2017-09-05 18:06:00 82

转载 js 事件

1. 事件冒泡 : // 分别在 >= ie 9 和 < ie9 下测试'use strict';var arr = [document, window, document.documentElement, document.body, document.querySelector('.container')];while (arr.length){...

2017-09-05 17:50:00 89

转载 css 1-3

css 选择器分为 5大类,分别是: 1. 元素选择器 2. 类选择器 3. 关系选择器 4. 伪类选择器 5. 伪元素选择器https://labs.qianduan.net/css-selector/转载于:https://www.cnblogs.com/Tachi/p/7477806.html...

2017-09-05 11:30:00 79

转载 get post

http://blog.csdn.net/debugingstudy/article/details/10243605转载于:https://www.cnblogs.com/Tachi/p/7462927.html

2017-09-01 14:00:00 69

转载 jquery ..... deferred

$.when((_=>{setTimeout(()=>{console.log('---internal----');_.resolve();},5000);return _;})($.Deferred())).done(_=>console.log('**callback**'));转载于:https://www.cnblogs.com/Tachi/p/7458...

2017-08-31 14:25:00 78

转载 arguments -- 仅仅是百度面试问了一下,大致就这些。不深

https://segmentfault.com/a/1190000009045259?_ea=1809858转载于:https://www.cnblogs.com/Tachi/p/7441094.html

2017-08-27 18:34:00 147

转载 git push

转自: http://www.cnblogs.com/qianqiannian/p/6008140.htmlGit push 在使用git commit命令将修改从暂存区提交到本地版本库后,只剩下最后一步将本地版本库的分支推送到远程服务器上对应的分支了,如果不清楚版本库的构成,可以查看我的另一篇,git 仓库的基本结构。 git push的一般形...

2017-08-24 19:28:00 68

转载 [转载] ie 8 兼容性, 最重要的一点是,xp 最高支持ie8

本文分享下我在项目中积累的IE8+兼容性问题的解决方法。根据我的实践经验,如果你在写HTML/CSS时候是按照W3C推荐的方式写的,然后下面的几点都关注过,那么基本上很大一部分IE8+兼容性问题都OK了(这里的IE8+主要是指IE8,据个人目测,IE9+的渲染效果已经非常好了)。前期准备测试IE兼容性必须要在Windows中测,而且是Win7+,因为WinXP最高只支持IE8,I...

2017-08-21 11:10:00 377

转载 git 分支相关,转载

http://blog.csdn.net/arkblue/article/details/9568249/24个省(包括台湾) 4个直辖市 5个自治区 2个特别行政区转载于:https://www.cnblogs.com/Tachi/p/7402713.html...

2017-08-21 09:49:00 57

转载 css covert less

https://www.css2less.net/转载于:https://www.cnblogs.com/Tachi/p/7381721.html

2017-08-17 15:01:00 60

转载 js 正则

预定义特殊字符-- 转义符 (7个)字符含义\t水平制表符\r回车符\n换行符\f换页符\cX与X对应的控制字符(Ctrl+X)\v垂直制表符\0空字符字符 (3个). 除换行符" \n ...

2017-06-19 19:58:00 75

转载 js error

  Native Error Types Used in This Standard *6:1,EvalError // es5 已废除,为保证兼容性保留.2, RangeError // new Array(-1) Uncaught RangeError3, ReferenceError // typeof ...

2017-06-13 09:40:00 77

转载 canvas -颜色,样式 相关

属性 (6个):fillStyle : color|gradient|pattern - 填充颜色strokeStyle : color|gradient|pattern - 边框颜色shadowColor : color - 阴影颜色shadowBlur - 设置或者返回阴影的模糊级别shadowOffsetX,shadowOffsetY 设置水平...

2017-06-04 18:03:00 73

转载 canvas - 变换

  变换方法 *5translate(x,y) 重新映射画布上的(0,0)rotate(deg) deg - degree * Math.PI / 180scale(scaleWidth,scaleHeight)transform(a,b,c,d,e,f) // 水平缩放绘图 水平倾斜绘图 垂直倾斜绘图 垂直缩放绘图 水平移动绘图 垂直移动绘图set...

2017-06-04 13:15:00 54

转载 canvas - 路径

ie 8 不支持 canvas路径方法 * 121、fill 2、stroke 3、beginPath4、moveTo5、closePath6、lineTo7、clip //相当于选区,可以在此之前,先save 然后之后再restore8、quadraticCurveTo9、bezierCurveTo10、arc11、arcT...

2017-06-03 17:51:00 55

转载 canvas -矩形

矩形 (方法 *4)rect(x,y,x1,y1) //创建矩形路径fillRect(x,y,x1,y1) //填充矩形strokeRect(x,y,x1,y1) //创建边框clearRect(x,y,x1,y1) //清除边框内容const createRect = w=>{ switch (w){ case("re...

2017-06-02 22:04:00 48

转载 canvas - 线

线(4个属性):   lineWidth:<integer> // 宽度  lineCap: butt | round | square // 顶端样式 默认| 圆角 | 方角  lineJoin: miter | round | bevel // 相交样式 直切 | ...

2017-06-02 21:29:00 44

转载 requestAnimationFrame - polyfill

// http://paulirish.com/2011/requestanimationframe-for-smart-animating/// http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating// requestAnimationFrame po...

2017-06-01 18:49:00 290

转载 flex in css

// display-flex:container:flex-flow:flex-direction || flex-wrap'justify-content // main axis place method - 5 values : flex-start|flex-end|center|space-between|space-aroundalign-items...

2017-05-22 10:33:00 59

转载 让 .vue 支持 atom

Tab keyCurrently, Emmet expands abbreviations by Tab key only for HTML, CSS, Sass/SCSS and LESS syntaxes. Tab handler scope is limited because it overrides default snippets.If you want to mak...

2017-03-09 21:27:00 139

转载 il c井

base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;将resource 替换成 fileComplier 生成的 resx(可以自己转换),然后修改proj文件,最终使vc识别资源!System.ComponentModel.ComponentResourceManager ...

2017-01-05 21:45:00 87

转载 额。。万恶之源就是c

http://blog.csdn.net/feeltouch/article/details/45155529转载于:https://www.cnblogs.com/Tachi/p/6243719.html

2017-01-03 08:48:00 80

转载 js算数优先级

优先级运算类型关联性运算符19圆括号n/a( … )18成员访问从左到右… . …需计算的成员访问从左到右… [ … ]new (带参数列表)n/anew … ( … )17函数调用从左到右… (…)new(无参数列表)从右到...

2017-01-03 07:56:00 67

转载 mongodb 数据库查询

转载于:https://www.cnblogs.com/Tachi/p/6232051.html

2016-12-29 10:48:00 56

转载 connect-flash 中间件

  http://blog.csdn.net/liangklfang/article/details/51086607转载于:https://www.cnblogs.com/Tachi/p/6219493.html

2016-12-25 14:20:00 92

转载 触发bfd 的条件

    满足下列条件之一就可触发BFC  【1】根元素,即HTML元素  【2】float的值不为none  【3】overflow的值不为visible  【4】display的值为inline-block、table-cell、table-caption  【5】position的值为absolute或fixed转载于:https://www.cnblog...

2016-12-24 13:37:00 98

转载 module 和 module.exports 的区别

自己理解的不好,推荐一篇文章吧: http://www.cnblogs.com/pigtail/archive/2013/01/14/2859555.html转载于:https://www.cnblogs.com/Tachi/p/6014796.html

2016-10-31 09:42:00 127

转载 a标签填充父容器

body>div>a{Join}div{ width:150px; height:35px;}a{ display:block; line-height:35px; height:35px; font-size:14px;}转载于:https://www.cnblogs.com/Tachi/p/5990445.h...

2016-10-23 17:37:00 443

转载 bootstrap - 响应式标题栏

先要拆分:  .navbar先变成相对定位设置最小高度为50px;设置底部边距为20px然后设置一个 透明边框!边框倒角 4px //@media (min-width:768px) - 最小宽度为 768px 时生效(大于等于 768px的时候)  .navbar-default一上来就设置了个背景和边框。default 对应的...

2016-10-21 16:17:00 271

转载 每日一练排版

pull-right // float:left 导致下面的页面塌陷,应该是 text-align:right;保证为block;grayscale灰度sepia褐色(求专业指点翻译)saturate饱和度hue-rotate色相旋转invert反色opacity透明度brightness亮度contrast对比度blur模糊dro...

2016-10-10 13:44:00 69

转载 bootstrap 笔记

导航条:div.navbar.navbar-default > ul.nav.navbar无非两层:父div: navbar {相对位置、最低高度50px、下部margin:20px、透明边框} navbar-default{设置背景、设置边框}子ul:  .navbar-nav { //这...

2016-10-08 11:47:00 70

转载 block、inline、inline-block

block:block - 块级元素常见的块级元素包括:div,form,p,table,ul,ol,dl,h1~h6,preblock 可以包含 inlne 和 block 和 inline-block(有的不适合,比如 p);block 独占一行,多个block 会另起一行;默认情况下,block元素宽度自动填满父元素;block 可以设...

2016-10-04 16:36:00 65

转载 js 的复制和引用 (传值和传址)

复制(传值-实参): 基本类型赋值、函数参数引用(传址-形参): 对象、数组、函数转载于:https://www.cnblogs.com/Tachi/p/5878788.html

2016-09-17 14:42:00 312

转载 俄罗斯方块和作品集

 http://afcf.date/new/index.html转载于:https://www.cnblogs.com/Tachi/p/5878216.html

2016-09-17 11:45:00 96

转载 js 连续赋值。。理解不了,先占坑

  http://www.cnblogs.com/xxcanghai/p/4998076.html转载于:https://www.cnblogs.com/Tachi/p/5768395.html

2016-08-13 17:12:00 80

转载 8.7 jquery-dom manipulation

// 获得设定内容 [text(),html(),val()];// 获得设定属性 [attr(),removeAttr()];// 获得设定 css class [addClass,removeClass,hasClass,toggleClass];// .css 设定1、获得设定的内容alert($("mainPnl>h1").text...

2016-08-08 00:13:00 62

转载 08.04 对象构造方法

构造器函数:1、对象工厂的方式创建2、构造器函数// 对象工厂的方式创建:function personFactory(pName,pAge){retrun {name:pName,age:pAge}}var a = personFactory("jlp","16");var b = personFactory("my","20");...

2016-08-05 01:11:00 65

转载 对象的基本操作

遍历成员检查对象是否有某个属性成员删除(有些属性是无法删除的)遍历成员: var mc = {}; Object.defineProperty(mc,"name",{value:"jlp",writable:false,enumerable:true}); mc.age = "16";for(x in mc){console.l...

2016-08-03 22:22:00 92

转载 08.03 js _oop

js 分6个基本类型: string boolean number undefind null 自定义对象对象的种类:js内置的 (比如 string number)宿主对象 (比如 window)自己创建的对象的创建:var book1 = {}; // 字面量的方式创建对象var book2...

2016-08-03 14:48:00 52

转载 08.02 对象

对象的创建 : 对象字面量包括属性 //name:"jlp", 逗号分隔方法 // work:function (){console.log("working.....")}get set型属性转载于:https://www.cnblogs.com/Tachi/p/5728374.html...

2016-08-02 10:43:00 54

空空如也

空空如也

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

TA关注的人

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