Language
日本語
English

Caution

JavaScript is disabled in your browser.
This site uses JavaScript for features such as search.
For the best experience, please enable JavaScript before browsing this site.

  1. Home
  2. CSS Dictionary

CSS Dictionary Index

[Setup] CSS Development EnvironmentStep-by-step guide to setting up an environment for writing and displaying CSS.
align-contentSpecifies how rows are aligned along the cross axis of a flex container.
align-itemsSpecifies how flex items are aligned along the cross axis.
align-selfSpecifies the cross-axis alignment for an individual flex item.
animationShorthand property for specifying all animation-related settings at once.
animation-delaySpecifies the delay before an animation starts.
animation-durationSpecifies the duration of one animation cycle.
animation-directionSpecifies whether the animation should alternate direction on each cycle.
animation-fill-modeSpecifies the state of an element before and after the animation plays.
animation-iteration-countSpecifies the number of times an animation repeats.
animation-nameSpecifies the name of the animation.
animation-timing-functionSpecifies the timing and rate of change for an animation.
backgroundShorthand property for specifying all background-related settings at once.
background-attachmentSpecifies whether the background scrolls with the page or stays fixed.
background-clipSpecifies the area in which the background is displayed.
background-colorSpecifies the background color.
background-imageSpecifies the background image.
background-originSpecifies the origin position (reference point) for background rendering.
background-positionSpecifies the starting position for rendering the background image.
background-repeatSpecifies how the background image is repeated.
background-sizeSpecifies the size of the background image.
borderShorthand property for specifying border settings on all four sides.
border-bottomShorthand property for specifying bottom border settings.
border-bottom-colorSpecifies the color of the bottom border.
border-bottom-left-radiusSpecifies the radius of the bottom-left corner.
border-bottom-right-radiusSpecifies the radius of the bottom-right corner.
border-bottom-styleSpecifies the style of the bottom border.
border-bottom-widthSpecifies the width of the bottom border.
border-collapseSpecifies whether table cell borders are shared or separated.
border-colorShorthand property for specifying border colors on all four sides.
border-leftShorthand property for specifying left border settings.
border-left-colorSpecifies the color of the left border.
border-left-styleSpecifies the style of the left border.
border-left-widthSpecifies the width of the left border.
border-radiusShorthand property for specifying border-radius on all four corners.
border-rightShorthand property for specifying right border settings.
border-right-colorSpecifies the color of the right border.
border-right-styleSpecifies the style of the right border.
border-right-widthSpecifies the width of the right border.
border-spacingSpecifies the spacing between table cell borders.
border-styleShorthand property for specifying border styles on all four sides.
border-topShorthand property for specifying top border settings.
border-top-colorSpecifies the color of the top border.
border-top-left-radiusSpecifies the radius of the top-left corner.
border-top-right-radiusSpecifies the radius of the top-right corner.
border-top-styleSpecifies the style of the top border.
border-top-widthSpecifies the width of the top border.
border-widthShorthand property for specifying border widths on all four sides.
bottomSpecifies the distance from the bottom edge of the reference position.
box-orientSpecifies the direction in which child elements are laid out inside a box.
box-shadowSpecifies the shadow of the content box.
box-sizingChanges how the box model (element size) is calculated.
calc()A CSS function that performs arithmetic calculations.
clearCancels the wrap-around caused by a preceding floated element.
clipSpecifies whether an element is clipped.
column-gapSpecifies the column spacing between flex or grid items.
colorSpecifies the text color (font color).
contentInserts content into :before and :after pseudo-elements.
cursorChanges the design of the mouse cursor.
directionSpecifies the direction of text flow.
displaySpecifies the display type of an element.
empty-cellsSpecifies how to display empty table cell elements.
filterApplies filter effects to images or text.
flexShorthand property for specifying flex item growth and shrink settings.
flex-basisSpecifies the initial size of a flex item.
flex-directionSpecifies the direction of the main axis in a flex container.
flex-flowShorthand property for flex-direction and flex-wrap.
flex-growSpecifies the growth factor of a flex item.
flex-shrinkSpecifies the shrink factor of a flex item.
flex-wrapSpecifies whether flex items wrap onto multiple lines.
floatMakes an element float and positions it to the left or right.
fontShorthand property for specifying all font-related settings.
font-familySpecifies the font family.
font-sizeSpecifies the font size.
font-styleSpecifies the font style.
font-variantSpecifies small-caps display settings for the font.
font-weightSpecifies the weight (boldness) of the font.
gapShorthand property for specifying spacing between flex or grid items.
heightSpecifies the height of an element.
justify-contentSpecifies how flex items are aligned along the main axis.
leftSpecifies the distance from the left edge of the reference position.
letter-spacingSpecifies the spacing between characters.
linear-gradient()Applies a linear gradient to the background color.
line-heightSpecifies the minimum height of a line box.
list-styleShorthand property for specifying list marker settings.
list-style-imageSpecifies the image to use as a list marker.
list-style-positionSpecifies the position of the list marker.
list-style-typeSpecifies the type of list marker.
marginShorthand property for specifying margins on all four sides.
margin-bottomSpecifies the bottom margin.
margin-leftSpecifies the left margin.
margin-rightSpecifies the right margin.
margin-topSpecifies the top margin.
max-heightSpecifies the maximum height of an element.
max-widthSpecifies the maximum width of an element.
min-heightSpecifies the minimum height of an element.
min-widthSpecifies the minimum width of an element.
opacitySpecifies the opacity of an element.
orderSpecifies the display order of flex items.
outlineShorthand property for specifying all outline-related settings.
outline-colorSpecifies the color of the outline.
outline-styleSpecifies the style of the outline.
outline-widthSpecifies the width of the outline.
overflowSpecifies how overflowing content is displayed.
overflow-xSpecifies how overflowing content is displayed in the horizontal (x-axis) direction.
overflow-ySpecifies how overflowing content is displayed in the vertical (y-axis) direction.
paddingShorthand property for specifying padding on all four sides.
padding-bottomSpecifies the bottom padding.
padding-leftSpecifies the left padding.
padding-rightSpecifies the right padding.
padding-topSpecifies the top padding.
page-break-afterSpecifies page break positions after an element when printing.
page-break-beforeSpecifies page break positions before an element when printing.
positionSpecifies how an element is positioned.
radial-gradient()Applies a radial gradient to the background color.
rightSpecifies the distance from the right edge of the reference position.
row-gapSpecifies the row spacing between flex or grid items.
table-layoutSpecifies how cell widths in a table element are determined.
text-alignSpecifies the horizontal alignment of inline content.
text-decorationSpecifies text decoration.
text-indentSpecifies the indentation width of the first line of text.
text-overflowTruncates overflowing text and displays an ellipsis at the end.
text-shadowSpecifies a shadow for text.
text-transformSpecifies the capitalization of text such as English letters.
topSpecifies the distance from the top edge of the reference position.
transformApplies 2D or 3D transformation effects.
transform-originSpecifies the origin point for 2D or 3D transformations.
transitionShorthand property for specifying all transition effect settings at once.
transition-delaySpecifies when the transition effect begins.
transition-durationSpecifies the duration of the transition effect.
transition-propertySpecifies the CSS property name to apply the transition effect to.
transition-timing-functionSpecifies the timing and easing of the transition effect.
unicode-bidiOverrides the Unicode text direction.
vertical-alignSpecifies the vertical alignment position.
visibilitySpecifies whether an element is visible or hidden.
white-spaceSpecifies how spaces, tabs, and line breaks are displayed.
widthSpecifies the width of an element.
word-spacingSpecifies the spacing between words.
word-wrapSpecifies whether line breaks can occur in the middle of a word.
z-indexSpecifies the stacking level (z-order) of an element.
CSS Grammar SummaryA comprehensive summary of CSS grammar.
[CSS Selector] Part NamesNames of each part of CSS selectors and HTML elements.
[CSS Selector] *Applies to all elements.
[CSS Selector] E:activeApplies only while the element is being clicked with the mouse.
[CSS Selector] E:afterGenerates the last child element of an element.
[CSS Selector] E:beforeGenerates the first child element of an element.
[CSS Selector] E:checkedApplies to elements that are checked.
[CSS Selector] E.classNameTargets elements with a specific class name.
[CSS Selector] E:disabledApplies to elements in a disabled state.
[CSS Selector] E:enabledApplies to elements in an enabled state.
[CSS Selector] E:first-childTargets the first child element.
[CSS Selector] E:first-letterApplies to the first character of the first line of an element.
[CSS Selector] E:first-lineApplies to the first line of an element.
[CSS Selector] E:first-of-typeTargets the first child element of its type.
[CSS Selector] E:focusApplies to the element that currently has focus.
[CSS Selector] E:hoverApplies only while the element is being hovered over with the mouse.
[CSS Selector] E#idNameTargets elements with a specific ID name.
[CSS Selector] E:last-childTargets the last child element.
[CSS Selector] E:last-of-typeTargets the last child element with the same element name.
[CSS Selector] E:linkApplies to elements that have a valid link destination.
[CSS Selector] E:not(s)Targets E elements that do not match the selector specified by s.
[CSS Selector] E:nth-child(n)Applies to the nth child element counted from the top.
[CSS Selector] E:nth-last-child(n)Applies to the nth child element counted from the bottom.
[CSS Selector] E:nth-of-type(n)Applies to the nth child element with the same element name counted from the top.
[CSS Selector] E:nth-last-of-type(n)Applies to the nth child element with the same element name counted from the bottom.
[CSS Selector] E:only-childTargets the sole child element.
[CSS Selector] E:rootTargets the root element of the HTML document.
[CSS Selector] E:targetApplies to elements whose ID matches the hash value in the URL.
[CSS Selector] E:visitedApplies to elements whose link destination has been visited.
[CSS Selector] EApplies by specifying the element name.
[CSS Selector] E FTargets F elements that are descendants of E elements.
[CSS Selector] E > FTargets F elements that are direct children of E elements.
[CSS Selector] E + FTargets F elements immediately adjacent to E elements.
[CSS Selector] E ~ FTargets F elements at the same level that follow E elements.
[CSS Selector] E[foo]Targets E elements that have the foo attribute.
[CSS Selector] E[foo="bar"]Applies to elements where the specified attribute and value match exactly.
[CSS Selector] E[foo~="bar"]Applies to elements where a word in the specified attribute value matches when split by a space.
[CSS Selector] E[foo|="bar"]Applies to elements where the first word of the specified attribute value matches when split by a hyphen.
[CSS Selector] E[foo^="bar"]Applies to elements where the specified attribute value starts with the given string.
[CSS Selector] E[foo$="bar"]Applies to elements where the specified attribute value ends with the given string.
[CSS Selector] E[foo*="bar"]Applies to elements where the specified attribute value contains the given string.