0%

CSS

Background 背景

background: color image position/size repeat origin clip attachment initial|inherit;

  • position:
    • 水平(left, center, right, xpos)
    • 垂直(top, center, bottom, ypos)
  • size: audo, percentage, cover, contain
  • repeat: repeat|repeat-x|repeat-y|no-repeat
  • origin: padding-box|border-box|content-box
  • clip: border-box|padding-box|content-box (沒用過)
  • attachment: scroll|fixed|local (沒用過)
閱讀全文 »