随笔分类 - css
摘要:1 function rems(doc: any, win: any): void { 2 let docEl = doc.documentElement, 3 resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize', 4 recalc = function () { ...
阅读全文
摘要::before和:after的作用就是在指定的元素内容(而不是元素本身)之前或者之后插入一个包含content属性指定内容的行内元素,最基本的用法如下: #example{ width:300px; height:40px; line-height:40px; border:1px solid #e
阅读全文

浙公网安备 33010602011771号