摘要:
let arr = [] 1. instanceof arr isntanceof Array 2. __proto__ arr.__proto__ Array.prototype Array.prototype.isPrototypeOf(arr) Array.prototype Object.g 阅读全文
posted @ 2020-03-10 20:47
bya
阅读(1735)
评论(1)
推荐(0)
摘要:
1.使用百分比 2.使用em,相对于上下文的百分比(body默认16px, 100%, 1em) body{ font-size: 16px; font-size: 100%; font-size: 1em; } 子元素相对body的大小。比如宽度为48px, 则设置 width: 3em 3.媒体 阅读全文
posted @ 2020-03-10 20:27
bya
阅读(181)
评论(0)
推荐(0)

浙公网安备 33010602011771号