11 2017 档案

摘要:div { width : calc(~"100% - 30px"); } 阅读全文
posted @ 2017-11-24 15:30 likwin 阅读(184) 评论(0) 推荐(0)
摘要:http://es6.ruanyifeng.com/#docs/string#repeat 阅读全文
posted @ 2017-11-07 18:37 likwin 阅读(202) 评论(0) 推荐(0)
摘要:includes():返回布尔值,表示是否找到了参数字符串。startsWith():返回布尔值,表示参数字符串是否在原字符串的头部。endsWith():返回布尔值,表示参数字符串是否在原字符串的尾部。 支持第二个参数,表示开始搜索的位置。 原链接:http://es6.ruanyifeng.co 阅读全文
posted @ 2017-11-07 18:29 likwin 阅读(144) 评论(0) 推荐(0)
摘要:单行: overflow: hidden; text-overflow:ellipsis; white-space: nowrap; 多行: display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; over 阅读全文
posted @ 2017-11-06 16:00 likwin 阅读(134) 评论(0) 推荐(0)