什么是BEM? BlockElementModifier其實(shí)是塊(block)、元素(element)、修飾符(modifier)。這三個(gè)部分使...
background-image: linear-gradient(180deg, #d9d9d9, #d9d9d9 50%, transpar...
flexflex-direction 主軸方向flex-wrap 換行flex-flow flex-direction屬性和flex-wrap...
rem是什么? rem(font size of the root element)是指相對(duì)于根元素的字體大小的單位。簡(jiǎn)單的說它就是一個(gè)相對(duì)單位...
標(biāo)準(zhǔn)盒模型的寬高只是內(nèi)容(content)的寬高, 而IE盒模型的寬高是內(nèi)容(content)+填充(padding)+邊框(border)的總...
安裝scss 全局樣式 局部樣式
驗(yàn)證super內(nèi)部this指向:在super()執(zhí)行時(shí),它指向的是子類B的構(gòu)造函數(shù),而不是父類A的構(gòu)造函數(shù)。也就是說,super()內(nèi)部的thi...
es5 es6 數(shù)組 對(duì)象
await等待的是Promise的 resolve和reject(axios能用實(shí)際上axios封裝的是Promise)