欧美日韩精品在线,国内精品久久久久久久久,一级毛片恃级毛片直播,清纯唯美亚洲综合欧美色

CSS基礎(chǔ)知識(shí)_Div+CSS教程

編輯Tag賺U幣
教程Tag:暫無Tag,歡迎添加,賺取U幣!
  一、可設(shè)置的CSS屬性包括:字體屬性、文本屬性、顏色及背景屬性、邊框?qū)傩浴⑷萜鲗傩裕ㄟ吘鄬傩浴⑻畛鋵傩裕⒎诸悓傩浴⑹髽?biāo)屬性。

  二、基礎(chǔ)屬性

字體屬性:font-family font-style font-variant font-weight font-size
文本屬性:word-spacing letter-spacing text-decoration vertical-align text-transform
     text-align text-indent line-height
顏色背景屬性:color background(background-color background-image background-repeat
       background-attachment background-position)
邊框?qū)傩裕篵order(border-top border-right border-bottom border-left)(border-width
     border-style border-color)
容器屬性:margin padding width height float clear
分類屬性:display white-space list-style-type list-style-image list-style-position
     list-style
鼠標(biāo)屬性:auto crosshair default hand move e-resize ne-resize nw-resize n-resize se-resize
     sw-resize s-resize w-resize text wait help

  三、CSS布局
  CSS盒模型的理解對于CSS布局有很大幫助,每個(gè)元素都有一個(gè)元素盒。HTML布局通常使用div+CSS,將網(wǎng)頁分為很多方塊,每個(gè)方塊和整個(gè)總體都可以各用一個(gè)div容納,然后用CSS對各個(gè)div進(jìn)行布局。常用布局屬性包括:margin padding float clear top right buttom left z-index position。

  

來源:52CSS//所屬分類:Div+CSS教程/更新時(shí)間:2012-08-06
相關(guān)Div+CSS教程