アフィリエイトで稼ぐのは厳しい ⇒ リファレンス ⇒ CSSプロパティ簡易リフ
HTML簡易リファレンスM-Z ← | → Webセーフカラー
★ スタイルシートプロパティ簡易リファレンス。良く使われるプロパティに限定しました。 ★
プロパティ:値; で記述します。
プロパティ | 機能 | 値、デフォルト値 | 適用対象 |
background | 背景関連プロパティの一括指定 | 各プロパティを参照 | すべての要素 |
background-attachment | 背景画像の移動・固定 | scroll | すべての要素 |
background-color | 背景色 | transparent | すべての要素 |
background-image | 背景画像 | none | すべての要素 |
background-position | 背景画像の初期位置 | 0% 0% | ブロックレベル要素、置換要素 |
background-repeat | 背景画像の繰り返し | repeat | すべての要素 |
border | ボーダー関連プロパティの一括指定 | 各プロパティを参照 | すべての要素 |
border-collapse | 表のボーダーの表示モデル | collapse | table要素 |
border-color | ボーダーの色の一括指定 | 各プロパティを参照 | すべての要素 |
border-spacing | 隣接するセルのボーダー間のスペース | 0 | table要素 |
border-style | ボーダーの形状の一括指定 | none | すべての要素 |
border-top, border-right, border-bottom, border-left | 上下左右それぞれのボーダーの太さ・形状・色の一括指定 | 各プロパティを参照 | すべての要素 |
border-top-color, border-right-color, border-bottom-color, border-left-color | 上下左右それぞれのボーダーの色 | colorプロパティの値 | すべての要素 |
border-top-style, border-right-style, border-bottom-style, border-left-style | 上下左右それぞれのボーダーの形状 | none | すべての要素 |
border-top-width, border-right-width, border-bottom-width, border-left-width | 上下左右それぞれのボーダーの太さ | medium | すべての要素 |
border-width | ボーダーの太さの一括指定 | 各プロパティを参照 | すべての要素 |
bottom | 下からの位置指定 | auto | positionプロパティの値が「static」以外の要素 |
clear | フロートによる回り込みの解除 | none | ブロックレベル要素 |
color | 文字色(前景色) | ブラウザに依存 | すべての要素 |
content | 生成内容 | 空テキスト | :before疑似要素、:after疑似要素 |
counter-increment | カウンタの値を増やす | none | すべての要素 |
counter-reset | カウンタの値をリセットする | none | すべての要素 |
cursor | カーソルの種類 | auto | すべての要素 |
float | フロートの方向 | none | positionプロパティの値が「static」の要素(contentプロパティでの生成内容を除く) |
font | フォント関連プロパティの一括指定 | 各プロパティを参照 | すべての要素 |
font-family | フォントのファミリー | ブラウザに依存 | すべての要素 |
font-size | フォントの大きさ | medium | すべての要素 |
font-size-adjust | フォントの大きさの調整 | none | すべての要素 |
font-stretch | フォントの字幅 | normal | すべての要素 |
font-style | フォントのスタイル | normal | すべての要素 |
font-variant | フォントの変形 | normal | すべての要素 |
font-weight | フォントの太さ | normal | すべての要素 |
height | ボックスの内容領域の高さ | auto | すべての要素(非置換インライン要素、表の列要素と列グループ要素を除く) |
left | 左からの位置指定 | auto | positionプロパティの値が「static」以外の要素 |
list-style | リスト関連プロパティの一括指定 | なし | displayプロパティの値が「list-item」の要素(li要素) |
list-style-image | リストマーカーの画像 | none | displayプロパティの値が「list-item」の要素(li要素) |
list-style-position | リストマーカーの位置 | outside | displayプロパティの値が「list-item」の要素(li要素) |
list-sytle-type | リストマーカーの種類 | disc | displayプロパティの値が「list-item」の要素(li要素) |
margin | マージンの一括指定 | なし | すべての要素(表内部要素を除く) |
margin-top, margin-right, margin-bottom, margin-left | 上下左右マージンの個別指定 | 0 | すべての要素(表内部要素を除く) |
padding | パディングの一括指定 | なし | すべての要素(表関連要素のうちセル要素以外を除く) |
padding-top, padding-right, padding-bottom, padding-left | 上下左右パディングの個別指定 | 0 | すべての要素(表関連要素のうちセル要素以外を除く) |
position | 配置方法 | static | すべての要素(contentプロパティでの生成内容を除く) |
right | 右からの位置指定 | auto | positionプロパティの値が「static」以外の要素 |
size | ページボックスのサイズと方向 | auto | @pageルール内 |
table-layout | 表関連要素の表示方法(レイアウトアルゴリズム) | auto | すべての要素 |
text-align | テキストの行揃え | ブラウザとテキストの表記方向に依存 | ブロックレベル要素 |
text-decoration | テキストを装飾する | none | すべての要素 |
text-indent | テキストの最初の行のインデント幅 | 0 | ブロックレベル要素 |
text-shadow | テキストに影をつける | none | すべての要素 |
text-transform | テキストの大文字と小文字の変換 | none | すべての要素 |
top | 上からの位置指定 | auto | positionプロパティの値が「static」以外の要素 |
vertical-align | インラインボックスや表内のセルの垂直位置 | baseline | インライン要素、セル要素 |
visibility | ボックスの可視・不可視 | visible | すべての要素 |
widows | 改ページの際のページ上部の最低行数 | 2 | ブロックレベル要素 |
width | ボックスの内容領域の幅 | auto | すべての要素(非置換インライン要素、表の列要素と列グループ要素を除く) |
Copyright アフィリは厳しい 2010〜