随笔分类 -  css

摘要:1 function rems(doc: any, win: any): void { 2 let docEl = doc.documentElement, 3 resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize', 4 recalc = function () { ... 阅读全文
posted @ 2019-01-15 16:09 _小狐狸 阅读(1212) 评论(0) 推荐(0)
摘要::before和:after的作用就是在指定的元素内容(而不是元素本身)之前或者之后插入一个包含content属性指定内容的行内元素,最基本的用法如下: #example{ width:300px; height:40px; line-height:40px; border:1px solid #e 阅读全文
posted @ 2018-06-23 19:25 _小狐狸 阅读(3178) 评论(0) 推荐(0)