摘要: 遇到的问题及注意事项:背景全屏显示的2个方法。 ①背景为纯色或渐变时。html和body标签高度设为100%,子元素高度设为100%。 ②背景为图片时,body的background-size设为cover。 阅读全文
posted @ 2017-07-22 12:01 oliverlht 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 1 2 3 4 5 练手 6 230 231 232 233 234 235 236 CONTACT US 237 TEAM 238 PORTFOLIO 239 HOME 240 ... 阅读全文
posted @ 2017-07-01 10:17 oliverlht 阅读(132) 评论(0) 推荐(0) 编辑
摘要: 1 2 3 4 5 6 7 132 133 134 135 136 137 您的浏览器不支持 138 139 140 141 自定义播放器 142 ... 阅读全文
posted @ 2017-06-22 17:57 oliverlht 阅读(2324) 评论(0) 推荐(0) 编辑
摘要: for循环闭包添加事件方法 阅读全文
posted @ 2017-05-16 17:37 oliverlht 阅读(166) 评论(0) 推荐(0) 编辑
摘要: 一、JQ 二、JS 阅读全文
posted @ 2017-05-16 17:29 oliverlht 阅读(211) 评论(0) 推荐(0) 编辑
摘要: 一、JS 二、JQ 三、JQ实现带动画的瀑布流 遇到的问题及注意事项: 1、JS中数组的indexOf方法兼容性不好,ie8不支持。 2、chrome不支持document.documentElement.scrollTop,应使用document.body.scrollTop||document. 阅读全文
posted @ 2017-05-16 17:20 oliverlht 阅读(252) 评论(0) 推荐(0) 编辑
摘要: 一、JS 二、JQ 遇到的问题及注意事项: 1、inline-block元素下方会与父元素有几像素间距,是由Vertical-Align、font-size和line-height导致的。解决方法,①inline-block元素设为块元素 ②父元素的font-size或者line-height设为0 阅读全文
posted @ 2017-05-15 21:44 oliverlht 阅读(379) 评论(0) 推荐(0) 编辑
摘要: 全部商品分类 图书、音像、数字商品 文学 经营 畅读VIP ... 阅读全文
posted @ 2017-05-15 19:14 oliverlht 阅读(702) 评论(0) 推荐(0) 编辑
摘要: 遇到的问题及注意事项: 1、css外边距合并问题。 参考:http://blog.sina.com.cn/s/blog_601b97ee0101b8xe.html 2、offsetWidth属性,包括width,padding,border,不包括margin。 阅读全文
posted @ 2017-05-15 18:59 oliverlht 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 遇到的问题及注意事项: 1、创建时间new Date(2017,6,6);和new Date("2017,6,6");两个结果不一样,加双引号就是6月,不加就是7月。 阅读全文
posted @ 2017-05-15 18:40 oliverlht 阅读(213) 评论(0) 推荐(0) 编辑