摘要: 1px,css,移动端 阅读全文
posted @ 2016-12-09 16:18 土豆何必为难土豆 阅读(305) 评论(0) 推荐(0) 编辑
摘要: 作者:LJaer链接:https://www.zhihu.com/question/49251513/answer/125728764来源:知乎<!DOCTYPE html> <html style="height: 100%"> <head> <meta charset="utf-8"> </he 阅读全文
posted @ 2016-12-06 16:08 土豆何必为难土豆 阅读(2298) 评论(0) 推荐(0) 编辑
摘要: slick.js 旋转木马插件select2 下拉搜索插件bootstrap-suggest.js 搜索建议插件debounce或者throttle控制时间resize、scroll等高频率事件的业务逻辑执行频率(可以用来实现输入框ajax动态提示)lodash js工具库(lodash是为了提供更 阅读全文
posted @ 2016-11-23 10:47 土豆何必为难土豆 阅读(111) 评论(0) 推荐(0) 编辑
摘要: width:calc(100% - 40px)可用 + - * / 进行计算(ie9+) 注:计算符号前后必须跟上空格。 阅读全文
posted @ 2016-11-08 23:59 土豆何必为难土豆 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 1.父容器设置text-align:水平居中,第一个子元素(或父元素的伪元素)设置为height:100%;width:0;display:inline-block;vertical-align:middle;以给后面紧跟的元素参照,第二个子元素设置为display:inline-block;ver 阅读全文
posted @ 2016-11-08 23:52 土豆何必为难土豆 阅读(86) 评论(0) 推荐(0) 编辑