縮寫 | 屬性 | 值 |
---|---|---|
background | background-color background-position background-size background-repeat background-origin background-clip background-attachment background-image | color | transparent; x% y% | xpos ypos | left | top | ...; length | percentage | cover | auto | ...; repeat | repeat-x | repeat-y | no-repeat; border-box | contain-box | padding-box; border-box | contain-box | padding-box; scroll | fixed; url('URL') | none; |
border | border-width border-style border-color border-top border-right border-bottom border-left | thin | medium | thick | length; none | dotted | dashed | solid | ...; color | transparent; thin | medium | thick | length; thin | medium | thick | length; thin | medium | thick | length; thin | medium | thick | length; |
font | font-style font-variant font-weight font-size/line-height font-family caption icon menu message-box small-caption status-bar | normal | italic | oblique; normal | small-caps; normal | bold | lighter | 100 | ...; medium | length | % | normal | ...; font-family, generic-family name; caption; icon; menu; message-box; small-caption; status-bar; |
list-style | list-style-type list-style-position list-style-image | disc | circle | square | decimal | ...; inside | outside; none | url('URL'); |
margin | margin-top margin-right margin-bottom margin-left | auto | length | %; auto | length | %; auto | length | %; auto | length | %; |
outline | outline-color outline-style outline-width | color | invert; none | dotted | dashed | solid | ...; thin | medium | thick | length; |
padding | padding-top padding-right padding-bottom padding-left | length | %; length | %; length | %; length | %; |
本篇為整理資料,內容參照:
- 2007年旗標出版股份有限公司翻譯O'Reilly出版Christopher Schmitt著藍雲紋譯《CSS問題解決速查手冊》、
- w3schools.com 網路資料。
沒有留言:
張貼留言