CSSのプロパティ、役割一覧。
カラー
- color:文字色
フォント
- font-family:フォントファミリ名
- font-style:フォントスタイル設定
- font-variantsmall-caps
- font-weight:フォントの太さ
- font-size:フォントサイズ
- font:フォントをまとめて設定
テキスト
- word-spacing:単語の間隔
- letter-spacing:文字間隔
- text-decoration:文字の装飾
- vertical-align:縦方向の位置揃え
- text-transform:大文字・小文字
- text-align:行揃え
- text-indent:インデント。テキストの行揃え
- line-height:行間
ボックス
- margin-top:上マージン
- margin-right:右マージン
- margin-bottom:下マージン
- margin-left:左マージン
- margin:上右下左マージン
- padding-top:と内容の上間隔
- padding-right:枠と内容の右間隔
- padding-bottom:枠と内容の下間隔
- padding-left: 枠と内容の左間隔
- padding:枠と内容の上右下左間隔
- border-top-width:上枠の幅
- border-right-width:右枠の幅
- border-bottom-width:下枠の幅
- border-left-width:左枠の幅
- border-width:上右下左枠の幅
- border-color:枠の色
- border-style:枠のスタイル
- border-top:上枠の幅・スタイル・色
- border-right:右枠の幅・スタイル・色
- border-bottom:下枠の幅・スタイル・色
- border-left:左枠の幅・スタイル・色
- border:同じ枠の幅・スタイル・色
- width:ボックスの内容の幅
- height:ボックスの内容の高さ
- float:回り込み指定
- clear:回り込みクリア
背景
- background-color:背景色
- background-image:背景画像
- background-repeat:背景画像の並び
- background-attachment:背景画像の固定
- background-position:背景画像の位置
- background:背景をまとめて設定
配置(レイヤー)
- position:絶対位置・相対位置の指定
- left:左からの位置
- top:上からの位置
- z-index:重なる順序
- clip:クリッピング
- overflow:内容が収まりきらない場合
その他
- display:表示方法
- visibility:表示・非表示
- white-space:空白・タブ・改行の取り扱い
- list-style-type:リストのマークの種類
- list-style-image:リストのマーク画像
- list-style-position:リストのマークの表示位置
- list-style:リストをまとめて設定
参考:http://www.zspc.com/stylesheets/css/reference.html
コメントを残す