上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 26 下一页
摘要: display: flex; flex:1; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; white-spa 阅读全文
posted @ 2019-01-27 00:27 雨夜稻草 阅读(129) 评论(0) 推荐(0) 编辑
摘要: Date.prototype.format = function (fmt) { var o = { "M+": this.getMonth() + 1, //月份 "d+": this.getDate(), //日 "h+": this.getHours(), //小时 "m+": this.ge 阅读全文
posted @ 2019-01-25 18:30 雨夜稻草 阅读(303) 评论(0) 推荐(0) 编辑
摘要: =》 css: .cateBtn{ position: relative; background: #fff; border: 1px solid #ddd; border-radius: 6px; text-align: center; width: 30px; height: 30px; dis 阅读全文
posted @ 2019-01-23 14:45 雨夜稻草 阅读(219) 评论(0) 推荐(0) 编辑
摘要: transition: 过渡属性 过渡所需要时间 过渡动画函数 过渡延迟时间;默认值分别为:all 0 ease 0 1、局限性: 1)只能设置一个属性 2)需要伪类/事件触发才执行 3)只能设置动画初始值和结束值 2、过渡函数: liner :匀速 ease-in:减速 ease-out:加速 e 阅读全文
posted @ 2019-01-22 17:26 雨夜稻草 阅读(847) 评论(0) 推荐(0) 编辑
摘要: https://segmentfault.com/a/1190000010380615 阅读全文
posted @ 2019-01-21 15:14 雨夜稻草 阅读(97) 评论(0) 推荐(0) 编辑
摘要: 参考此篇:https://segmentfault.com/a/1190000012621936 以下为个人测试中: css: .masonry{ width:100%; } .item{ position: absolute; } img{ width: 100%; } .gap{ width: 阅读全文
posted @ 2019-01-21 15:04 雨夜稻草 阅读(131) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/zhouyangla/p/8482010.html 阅读全文
posted @ 2019-01-21 14:45 雨夜稻草 阅读(89) 评论(0) 推荐(0) 编辑
摘要: 1、变量$ 全局 局部 .div{ $color:yellow; } 2、类似函数@mixin border-radius($radius) { }引用:@include border-radius(10px);3、运算4、继承%引用:@extend5、父类&6、可嵌套 7、条件判断 参考:http 阅读全文
posted @ 2019-01-21 11:03 雨夜稻草 阅读(116) 评论(0) 推荐(0) 编辑
摘要: 1、等格表格 可以直接用table,最后一列不限制宽度 2、不等格表格 1)全div模拟表格 2)2x2表格+div模拟 阅读全文
posted @ 2019-01-21 10:22 雨夜稻草 阅读(140) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/ghost-xyux/p/4916754.html 阅读全文
posted @ 2019-01-17 17:48 雨夜稻草 阅读(103) 评论(0) 推荐(0) 编辑
上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 26 下一页