H 5 css属性略記

1211 ワード

fontの略語
/*
    font     ,            ,      ;
font             (           ):
  :font-style(    )(normal(  )、italic(  ) oblique(  )): normal(  )、
italic(  ) oblique(  ); 
| font-variant(    ): | font-weight(    ): 
| font-size | line-height | font-family
*/

backgroundの略語
  :
Object.style.background=
background-color
 background-image
background-repeat 
background-attachment
background-position



パラメータ
説明

background-color
要素の背景色を設定します.
background-image
背景画像を設定します.
background-repeat
背景画像がどのように繰り返されるかを設定します.
background-attachment
背景画像が固定されているか、ページの残りの部分に従ってスクロールされているか.
background-position
背景画像の開始位置を設定します.
次に、対応するパラメータに対応する値を示します.

background-color            。   
color-name
color-rgb
color-hex
transparent
background-image          。 
url(URL)
none
background-repeat                。  
repeat
repeat-x
repeat-y
no-repeat
background-attachment                        。  
scroll
fixed
background-position            。    
top left
top center
top right
center left
center center
center right
bottom left
bottom center
bottom right
x% y%
xpos ypos

文章が続々と更新中...