CSSプロパティリファレンス
フレックスボックス・グリッド・タイポグラフィ・アニメーションなどの総合CSSリファレンスです。
52個のプロパティ
displayレイアウトDefines how element is rendered in the document.
block | inline | flex | grid | inline-flex | inline-grid | none | contentspositionレイアウトSpecifies positioning method.
static | relative | absolute | fixed | stickytop / right / bottom / leftレイアウトOffset for positioned elements.
<length> | <percentage> | autofloatレイアウトMoves element to left/right of container.
left | right | none | inline-start | inline-endclearレイアウトSpecifies what happens with the element next to a floated element.
none | left | right | both | inline-start | inline-endz-indexレイアウトSets stacking order of elements.
auto | <integer>overflowレイアウトControls content that overflows element box.
visible | hidden | scroll | auto | clipwidth / heightボックスモデルSets element dimensions.
<length> | <percentage> | auto | min-content | max-content | fit-contentmax-width / max-heightボックスモデルSets maximum element dimensions.
<length> | <percentage> | none | min-content | max-contentmin-width / min-heightボックスモデルSets minimum element dimensions.
<length> | <percentage> | auto | min-content | max-contentmarginボックスモデルSpace outside the element border.
<length> | <percentage> | auto (shorthand: top right bottom left)paddingボックスモデルSpace between content and border.
<length> | <percentage> (shorthand: top right bottom left)borderボックスモデルShorthand for border-width, border-style, border-color.
<border-width> || <border-style> || <color>border-radiusボックスモデルRounds corners of element border box.
<length> | <percentage> (1-4 values for corners)box-sizingボックスモデルHow width/height is calculated.
content-box | border-boxbox-shadowボックスモデルAdds shadow effects around element frame.
<offset-x> <offset-y> <blur> <spread> <color> | inset | noneflex-directionFlexboxSets main axis of flex container.
row | row-reverse | column | column-reverseflex-wrapFlexboxWhether flex items wrap onto multiple lines.
nowrap | wrap | wrap-reversejustify-contentFlexboxAlignment along main axis.
flex-start | flex-end | center | space-between | space-around | space-evenlyalign-itemsFlexboxDefault alignment along cross axis.
stretch | flex-start | flex-end | center | baselinealign-contentFlexboxMulti-line flex container alignment.
flex-start | flex-end | center | space-between | space-around | stretchflexFlexboxShorthand for flex-grow, flex-shrink, flex-basis.
none | auto | <flex-grow> <flex-shrink> <flex-basis>gapFlexboxSpace between flex/grid items.
<length> | <percentage> (row-gap column-gap)grid-template-columnsGridDefines columns of the grid.
none | <track-size> | repeat() | minmax() | auto-fill | auto-fitgrid-template-rowsGridDefines rows of the grid.
none | <track-size> | repeat() | minmax()grid-columnGridShorthand for grid-column-start and grid-column-end.
<line> / <line> | span <number>grid-rowGridShorthand for grid-row-start and grid-row-end.
<line> / <line> | span <number>grid-areaGridNamed grid area or row/column shorthand.
<name> | <row-start> / <col-start> / <row-end> / <col-end>font-sizeタイポグラフィSize of the font.
<length> | <percentage> | xx-small...xx-large | smaller | largerfont-familyタイポグラフィPrioritized list of font family names.
<family-name> | <generic-family> (comma-separated list)font-weightタイポグラフィWeight/boldness of the font.
normal | bold | bolder | lighter | 100–900font-styleタイポグラフィItalic or oblique font.
normal | italic | obliqueline-heightタイポグラフィHeight of a line box.
normal | <number> | <length> | <percentage>text-alignタイポグラフィHorizontal alignment of text.
left | right | center | justify | start | endtext-decorationタイポグラフィDecorative lines on text.
none | underline | overline | line-through | blinktext-transformタイポグラフィCapitalization of text.
none | uppercase | lowercase | capitalizeletter-spacingタイポグラフィSpace between characters.
normal | <length>word-spacingタイポグラフィSpace between words.
normal | <length>colorビジュアルForeground color of text and text decorations.
<color> (name, hex, rgb(), hsl(), oklch())backgroundビジュアルShorthand for all background properties.
<color> | <image> | <position> / <size> <repeat> <attachment>background-colorビジュアルBackground color of element.
<color> | transparentopacityビジュアルTransparency of element (0–1).
<number> (0 = transparent, 1 = opaque)visibilityビジュアルShows or hides element without changing layout.
visible | hidden | collapsetransitionアニメーションShorthand for transition properties.
<property> <duration> <easing> <delay>animationアニメーションShorthand for animation properties.
<name> <duration> <easing> <delay> <iteration> <direction> <fill-mode>transformアニメーションApplies 2D/3D transforms.
none | translate() rotate() scale() skew() matrix()will-changeアニメーションHints browser about expected changes for optimization.
auto | scroll-position | contents | transform | opacitycursorUIType of mouse cursor.
auto | default | pointer | text | move | grab | not-allowed | crosshair | ...pointer-eventsUIControls when element can be target of pointer events.
auto | none | all | fill | stroke | painteduser-selectUIControls if text can be selected.
auto | none | text | all | containoutlineUIOutline drawn around element outside border.
<outline-width> || <outline-style> || <color> | noneresizeUIWhether/how user can resize element.
none | both | horizontal | verticalこのツールについて
このリファレンスは、レイアウト、ボックスモデル、Flexbox、Grid、タイポグラフィ、ビジュアル、アニメーション、UIインタラクションの8つのカテゴリにわたる最も一般的なCSSプロパティをカバーしています。
検索ボックスを使用してプロパティ名、説明、または許容値でフィルタリングします。カテゴリフィルターを使用して特定のグループを参照します。
使い方
- 検索ボックスにプロパティ名またはキーワードを入力してリストをフィルタリングします。
- ドロップダウンからカテゴリを選択して、そのグループのみを表示します。
- 各行にはプロパティ名、カテゴリタグ、説明、許容値が表示されます。
活用事例
フロントエンド開発者が開発中にプロパティ名と有効な値を検索します。CSSを学ぶ学生が利用可能なプロパティを探索するために使用します。
よくある質問
- すべてのCSSプロパティが含まれていますか? — いいえ。最も一般的に使用されるプロパティのみをカバーしています。
- ベンダープレフィックス付きプロパティは掲載されていますか? — いいえ。プレフィックスなしの標準プロパティのみが掲載されています。