Defines how each line is aligned within a flexbox/grid container. It only applies if flex-wrap: wrap
is present, and if there are multiple lines of flexbox/grid items.
Defines how flexbox items are aligned according to the cross axis, within a line of a flexbox container.
Works like align-items
, but applies only to a single flexbox item, instead of all of them.
Defines how long the animation has to wait before starting. The animation will only be delayed on its first iteration.
Defines what happens before an animation starts and after it ends. The fill mode allows to tell the browser if the animation’s styles should also be applied outside of the animation.
Defines how the values between the start and the end of the animation are calculated.
Shorthand property for animation-name
animation-duration
animation-timing-function
animation-delay
animation-iteration-count
animation-direction
animation-fill-mode
and animation-play-state
.
Only animation-duration
and animation-name
are required.
Defines how the background image will behave when scrolling the page.
Defines how the background image repeats itself across the element's background, starting from the background position.
Like border-color
, but for the bottom border only.
Defines the radius of the bottom left corner.
Defines the radius of the bottom right corner.
Like border-style
, but for the bottom border only.
Shorthand property for border-bottom-width
border-bottom-style
and border-bottom-color
.
Defines whether table borders should be separated or collapsed.
Defines the color of the element's borders.
Like border-color
, but for the left border only.
Like border-style
, but for the left border only.
Shorthand property for border-left-width
border-left-style
and border-left-color
.
Defines the radius of the element's corners.
Like border-color
, but for the right border only.
Like border-style
, but for the right border only.
Shorthand property for border-right-width
border-right-style
and border-right-color
.
Defines the style of the element's borders.
Like border-color
, but for the top border only.
Defines the radius of the top left corner.
Defines the radius of the top right corner.
Like border-style
, but for the top border only.
Shorthand property for border-top-width
border-top-style
and border-top-color
.
Shorthand property for border-width
border-style
and border-color
.
Defines the shadow of the element.
Defines how the width and height of the element are calculated: whether they include the padding and borders or not.
Moves the element after all the preceding floating elements.
Defines the number of columns of the element.
Defines the gap between the columns of the element.
Defines the number of columns of the element.
Defines the text content of the :before
and :after
pseudo-elements.
Sets the mouse cursor when hovering the element.
Sets the display behavior of the element.
Defines how much a flexbox item should shrink if there's not enough space available.
Pushes the element to either the left or right side. The following siblings will wrap around the floating element
Shorthand property for font-style
font-variant
font-weight
font-size
line-height
and font-family
.
Shorthand property for grid-row-start
grid-column-start
grid-row-end
and grid-column-end
.
Defines the size of grid columns that were created implicitly: it means that grid-auto-columns
targets the columns that were not defined with grid-template-columns
or grid-template-areas
.
Defines the size of grid rows that were created implicitly: it means that grid-auto-rows
targets the rows that were not defined with grid-template-rows
or grid-template-areas
.
Defines areas within a grid container. These areas can then be referenced when placing a grid item.
Defines the columns of a grid container. You can specify the width of a column by using a keyword (like auto
) or a length (like 10px
). The number of columns is determined by the number of values defined in the space-separated list.
Defines the rows of a grid container. You can specify the width of a row by using a keyword (like auto
) or a length (like 10px
). The number of rows is determined by the number of values defined in the space-separated list.
Shorthand property for grid-template-rows
grid-template-columns
and grid-template-area
.
Shorthand property for grid-template-rows
grid-template-columns
grid-template-areas
grid-auto-rows
grid-auto-columns
and grid-auto-flow
.
Defines how flexbox/grid items are aligned according to the main axis, within a flexbox/grid container.
Defines the image to be used as an list item's bullet point.
Defines the position of a list's bullet points.
Defines the type of a list item's bullet point.
Shorthand property for list-style-type
list-style-image
and list-style-position
.
Defines how the element should blend with the background.
Defines how opaque the element is.
Defines the color of the element's outlines.
Defines the style of the element's outlines.
Defines the width of the element's outlines.
Shorthand property for outline-width
outline-style
and outline-color
.
Defines if words should break when reaching the end of a line.
Defines how overflowing content on the horizontal axis is displayed.
Defines how overflowing content on the vertical axis is displayed.
Defines how overflowing content on both horizontal and vertical axis is displayed.
Defines if the element reacts to pointer events or not.
Defines if the textarea is resizable or not.
Defines the origin for transformations defined by the transform
property.
Defines how the element is transformed.
Defines how the values between the start and the end of the transition are calculated.
Shorthand property for transition-property
transition-duration
transition-timing-function
and transition-delay
.
Only transition-duration
is required.
Defines how an inline or table-cell element aligns vertically.
Defines which properties are expected to change in the future (either through CSS or JavaScript).
Defines the order of the elements on the z-axis. It only works on positioned elements (anything apart from static
).