よく使うCSS集
よく使う CSS についてまとめてみました。
用語一覧(48件)
font-size
font-size
文字のサイズを指定する
font-family
font-family
フォントの種類を指定
font-weight
font-weight
文字の太さを指定
line-height
line-height
行の高さを指定
text-align
text-align
テキストをそろえる位置を指定
text-decolation
text-decolation
テキストを装飾する
letter-spacing
letter-spacing
文字の間隔を指定
color
color
文字に色を付ける
font
font
フォントに関するプロパティをまとめて指定
list-style-type
list-style-type
リストマーカーの種類を指定
list-style-position
list-style-position
リストマーカーの表示位置を指定
list-style-image
list-style-image
リストマーカーに使う画像を指定
list-style
list-style
リストマーカーの種類、位置、画像をまとめて指定
background-color
background-color
背景色を指定
background-image
background-image
背景画像を指定
background-repeat
background-repeat
背景画像を繰り返す場合、方向を指定
background-size
background-size
背景画像の大きさを指定
background-position
background-position
背景画像の表示位置を指定
background
background
背景に関するプロパティをまとめて指定
width
width
要素の幅を指定
height
height
要素の高さを指定
margin
margin
要素の外側の余白を指定。半角スペース区切りで上・右・下・左の順で指定
margin-top
margin-top
要素の外側の上の部分の余白を指定
margin-right
margin-right
要素の外側の右の部分の余白を指定
margin-bottom
margin-bottom
要素の外側の下の部分の余白を指定
margin-left
margin-left
要素の外側の左の部分の余白を指定
padding
padding
要素の内側の余白を指定。半角スペース区切りで上・右・下・左の順で指定
padding-top
padding-top
要素の内側の上の部分の余白を指定
padding-right
padding-right
要素の内側の右の部分の余白を指定
padding-bottom
padding-bottom
要素の内側の下の部分の余白を指定
padding-left
padding-left
要素の内側の左の部分の余白を指定
border-width
border-width
線の太さを指定
border-style
border-style
線の種類を指定
border-color
border-color
線の色を指定
border
border
上の三つのプロパティをまとめて指定
border-top
border-top
要素上部に関してまとめて指定
border-right
border-right
要素右部に関してまとめて指定
border-bottom
border-bottom
要素下部に関してまとめて指定
border-left
border-left
要素左部に関してまとめて指定
display
display
要素のタイプを指定
flex-direction
flex-direction
子要素の並ぶ向きを指定
flex-wrap
flex-wrap
子要素の折り返し方を指定
justify-content
justify-content
水平方向の揃えを指定
align-items
align-items
垂直方向の揃えを指定
align-content
align-content
複数行にしたときの揃えを指定
grid-template-columns
grid-template-columns
子要素の幅を指定(グリッドを使うとき)
grid-template-rows
grid-template-rows
子要素の高さを指定(グリッドを使うとき)
grid-gap
grid-gap
子要素同士の余白を指定(グリッドを使うとき)
