1 / 26

網頁設計 CSS Box Model 與定位 方式

網頁設計 CSS Box Model 與定位 方式. Foreground and Background Colors , Textures and Images. 大綱. Box Model 邊界屬性 留白屬性 框線屬性 定位方式. Box Model . 留白 (padding) 、框線 (border) 、邊界 (margin). 邊界屬性 Margin. 邊界屬性 Margin. 上、右、下、左. 上、 左 右、下. 上 下 、左右. 上下左右. 邊界屬性 Margin. 留白屬性 Padding.

ivrit
Download Presentation

網頁設計 CSS Box Model 與定位 方式

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 網頁設計CSS Box Model 與定位方式 Foreground and Background Colors, Textures and Images

  2. 大綱 Box Model 邊界屬性 留白屬性 框線屬性 定位方式

  3. Box Model 留白(padding)、框線(border) 、邊界(margin)

  4. 邊界屬性 Margin

  5. 邊界屬性 Margin 上、右、下、左 上、左右、下 上下、左右 上下左右

  6. 邊界屬性 Margin

  7. 留白屬性 Padding

  8. 留白屬性 Padding <p style='padding:1cm'> <p style='padding:0.5cm 1cm'>

  9. 框線屬性 Border

  10. 框線屬性 Border

  11. 框線屬性 Border

  12. Display 屬性

  13. 寬度下限 min-width寬度上限 max-width

  14. 寬度下限 min-width寬度上限 max-width

  15. Position 屬性

  16. 指定文繞圖 float解除文繞圖 clear

  17. 重疊順序 z-index

  18. 顯示或隱藏 visibility

  19. 顯示或隱藏 visibility

  20. 溢出 overflow

  21. 陰影 box-shadow

  22. 垂直對齊 vertical-align

  23. 垂直對齊 vertical-align

More Related