Web前端面試指導(五十):CSS樣式書寫有哪些規範?

1、CSS書寫順序css 1.位置屬性(position, top, right,z-index, display, float等)瀏覽器 2.大小(width, height, padding,margin)app 3.文字系列(font, line-height,letter-spacing, color- text-align等)ide 4.背景(background, border等)佈局
相關文章
相關標籤/搜索