首页 > 其他 > 详细

前端随笔

时间:2018-03-04 12:18:30      阅读:194      评论:0      收藏:0      [点我收藏+]

url取值 function getQueryString(name) { var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i"); var r = window.location.search.substr(1).match(reg); if (r != null) return unescape(r[2]); return null; }

 

多行文字居中 .book-detail-store-item { width: 50px; height:50px; line-height: 25px; font-size: 12px; } /*flex垂直居中对齐*/ .align-center-vertical{ display: flex; align-items: center; justify-content: space-around; flex-direction: column; } 文字超出隐藏加省略号 一行 overflow: hidden; text-overflow:ellipsis; white-space: nowrap; 三行 display: -webkit-box; -webkit-box-orient: vertical;

前端随笔

原文:https://www.cnblogs.com/luciab/p/8504279.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!