摘要: 伸缩盒模型用法:结构:1 2 flex item 13 flex item 24 样式: 1 .flex-container { 2 display: -webkit-flex; 3 display: flex; 4 width: 300px; 5 height: 2... 阅读全文
posted @ 2015-08-17 10:42 灰太狼博客 阅读(417) 评论(0) 推荐(0) 编辑
摘要: js继承的概念js里常用的如下两种继承方式:原型链继承(对象间的继承)类式继承(构造函数间的继承)由于js不像java那样是真正面向对象的语言,js是基于对象的,它没有类的概念。所以,要想实现继承,可以用js的原型prototype机制或者用apply和call方法去实现在面向对象的语言中,我们使用... 阅读全文
posted @ 2015-08-14 15:55 灰太狼博客 阅读(210) 评论(0) 推荐(0) 编辑
摘要: jQuery 各种插件集合介绍jQuery----easing.js插件用法介绍 1 2 具体参数细节:duration 选项:毫秒数complete 选项:完成后调用easing 选项:jswingdefeaseInQuadeaseOutQuadeaseInOutQuadeaseInCubi... 阅读全文
posted @ 2015-08-10 16:45 灰太狼博客 阅读(305) 评论(0) 推荐(0) 编辑
摘要: css压缩css压缩网址js梅花压缩网址 阅读全文
posted @ 2015-07-01 16:59 灰太狼博客 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 1:给父元素添加overflow:hidden属性2:father:after{ content: ""; display: block; clear: both; } 阅读全文
posted @ 2015-07-01 16:29 灰太狼博客 阅读(127) 评论(0) 推荐(0) 编辑
摘要: window.onload=function(){ // 开始 function setSize(){ var winWidth=window.innerWidth; document.getElementsByTagName("html")[0].style... 阅读全文
posted @ 2015-06-25 21:53 灰太狼博客 阅读(790) 评论(0) 推荐(0) 编辑
摘要: 0:000:00js代码$(document).ready(function(){ $("#video-active").on( "timeupdate", function(event){ onTrackedVideoFrame(this.currentTime,... 阅读全文
posted @ 2015-06-25 11:10 灰太狼博客 阅读(5855) 评论(0) 推荐(0) 编辑
摘要: Document 1 2... 阅读全文
posted @ 2015-06-21 16:06 灰太狼博客 阅读(329) 评论(0) 推荐(0) 编辑
摘要: Document 1 2 3 4 5 6 左 右 js代码 阅读全文
posted @ 2015-06-21 14:27 灰太狼博客 阅读(192) 评论(0) 推荐(0) 编辑