Upgrade to Pro — share decks privately, control downloads, hide ads and more …

基礎切版技巧

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
Avatar for BoBoChen BoBoChen
March 16, 2015

 基礎切版技巧

針對CSS初學者的基礎功能概述課程

Avatar for BoBoChen

BoBoChen

March 16, 2015
Tweet

Other Decks in Design

Transcript

  1. 二、CSS區塊特性 3. 區塊&非區塊的特性比較 非區塊容器 區塊容器 寬度 依內容變動 100% 高度 依內容變動

    依內容變動 區塊自動換行 不換行 強制換行 邊距(margin) 只有左右正常 可正常使用 間距(padding) 當區塊直接最外層時, 上方留白會無法顯示 可正常使用
  2. 四、常用的語法 1. 改變容器區塊特性 Display 2. 連結相關指令 a 3. 邊距 margin

    4. 間距 padding 5. 浮動 float 6. 文字 font text 7. 顏色 color background 8. 定位 position 9. 邊框 border