Styles
- Type parameters:
- SP
StyleProp[Value]
Value members
Concrete methods
The word-wrap CSS property specifies whether or not the browser should insert line breaks within words to prevent text from overflowing its content box. --MDN
The word-wrap CSS property specifies whether or not the browser should insert line breaks within words to prevent text from overflowing its content box. --MDN
Alias for: overflowWrap
- See also:
Concrete fields
The CSS align-content property sets the distribution of space between and around content items along a flexbox's cross-axis or a grid's block axis. --MDN
The CSS align-content property sets the distribution of space between and around content items along a flexbox's cross-axis or a grid's block axis. --MDN
- See also:
The CSS align-items property sets the align-self value on all direct children as a group. In Flexbox, it controls the alignment of items on the Cross Axis. In Grid Layout, it controls the alignment of items on the Block Axis within their grid area. --MDN
The CSS align-items property sets the align-self value on all direct children as a group. In Flexbox, it controls the alignment of items on the Cross Axis. In Grid Layout, it controls the alignment of items on the Block Axis within their grid area. --MDN
- See also:
The align-self CSS property overrides a grid or flex item's align-items value. In Grid, it aligns the item inside the grid area. In Flexbox, it aligns the item on the cross axis. --MDN
The align-self CSS property overrides a grid or flex item's align-items value. In Grid, it aligns the item inside the grid area. In Flexbox, it aligns the item on the cross axis. --MDN
- See also:
The all shorthand CSS property resets all of an element's properties except unicode-bidi, direction, and CSS Custom Properties. It can set properties to their initial or inherited values, or to the values specified in another stylesheet origin. --MDN
The all shorthand CSS property resets all of an element's properties except unicode-bidi, direction, and CSS Custom Properties. It can set properties to their initial or inherited values, or to the values specified in another stylesheet origin. --MDN
Note: IE does not support this property
- See also:
The animation CSS property is a shorthand property for animation-name, animation-duration, animation-timing-function, animation-delay, animation-iteration-count and animation-direction. --MDN
The animation CSS property is a shorthand property for animation-name, animation-duration, animation-timing-function, animation-delay, animation-iteration-count and animation-direction. --MDN
- See also:
The animation-delay CSS property specifies when the animation should start. This lets the animation sequence begin some time after it's applied to an element.
The animation-delay CSS property specifies when the animation should start. This lets the animation sequence begin some time after it's applied to an element.
A value of 0s, which is the default value of the property, indicates that the animation should begin as soon as it's applied. Otherwise, the value specifies an offset from the moment the animation is applied to the element; animation will begin that amount of time after being applied.
Specifying a negative value for the animation delay causes the animation to begin executing immediately. However, it will appear to have begun executing partway through its cycle. For example, if you specify -1s as the animation delay time, the animation will begin immediately but will start 1 second into the animation sequence.
If you specify a negative value for the animation delay, but the starting value is implicit, the starting value is taken from the moment the animation is applied to the element. --MDN
- See also:
The animation-direction CSS property indicates whether the animation should play in reverse on alternate cycles. --MDN
The animation-direction CSS property indicates whether the animation should play in reverse on alternate cycles. --MDN
- See also:
The animation-duration CSS property specifies the Length of time that an animation should take to complete one cycle.
The animation-duration CSS property specifies the Length of time that an animation should take to complete one cycle.
A value of 0s, which is the default value, indicates that no animation should occur. --MDN
- See also:
The animation-fill-mode CSS property specifies how a CSS animation should apply styles to its target before and after it is executing. --MDN
The animation-fill-mode CSS property specifies how a CSS animation should apply styles to its target before and after it is executing. --MDN
- See also:
The animation-iteration-count CSS property defines the number of times an animation cycle should be played before stopping. --MDN
The animation-iteration-count CSS property defines the number of times an animation cycle should be played before stopping. --MDN
- See also:
The animation-name CSS property specifies a list of animations that should be applied to the selected element. Each name indicates a @keyframes at-rule that defines the property values for the animation sequence.
The animation-name CSS property specifies a list of animations that should be applied to the selected element. Each name indicates a @keyframes at-rule that defines the property values for the animation sequence.
- See also:
The animation-play-state CSS property determines whether an animation is running or paused. You can query this property's value to determine whether or not the animation is currently running; in addition, you can set its value to pause and resume playback of an animation.
The animation-play-state CSS property determines whether an animation is running or paused. You can query this property's value to determine whether or not the animation is currently running; in addition, you can set its value to pause and resume playback of an animation.
Resuming a paused animation will start the animation from where it left off at the time it was paused, rather than starting over from the beginning of the animation sequence. --MDN
- See also:
The CSS animation-timing-function property specifies how a CSS animation
should progress over the duration of each cycle. The possible values are
one or several
The CSS animation-timing-function property specifies how a CSS animation
should progress over the duration of each cycle. The possible values are
one or several
For keyframed animations, the timing function applies between keyframes rather than over the entire animation. In other words, the timing function is applied at the start of the keyframe and at the end of the keyframe.
An animation timing function defined within a keyframe block applies to that keyframe; otherwise. If no timing function is specified for the keyframe, the timing function specified for the overall animation is used. --MDN
- See also:
The CSS backface-visibility property determines whether or not the back face of the element is visible when facing the user. The back face of an element always is a transparent background, letting, when visible, a mirror image of the front face be displayed. --MDN
The CSS backface-visibility property determines whether or not the back face of the element is visible when facing the user. The back face of an element always is a transparent background, letting, when visible, a mirror image of the front face be displayed. --MDN
- See also:
The background CSS property is a shorthand for setting the individual background values in a single place in the style sheet. background can be used to set the values for one or more of: background-clip, background-color, background-image, background-origin, background-position, background-repeat, background-size, and background-attachment. --MDN
The background CSS property is a shorthand for setting the individual background values in a single place in the style sheet. background can be used to set the values for one or more of: background-clip, background-color, background-image, background-origin, background-position, background-repeat, background-size, and background-attachment. --MDN
- See also:
If a background-image is specified, the background-attachment CSS property determines whether that image's position is fixed within the viewport, or scrolls along with its containing block. --MDN
If a background-image is specified, the background-attachment CSS property determines whether that image's position is fixed within the viewport, or scrolls along with its containing block. --MDN
- See also:
The background-clip CSS property specifies whether an element's background, either the color or image, extends underneath its border.
The background-clip CSS property specifies whether an element's background, either the color or image, extends underneath its border.
If there is no background image, this property has only visual effect when the border has transparent regions (because of border-style) or partially opaque regions; otherwise the border covers up the difference. --MDN
- See also:
The background-color CSS property sets the background color of an element, either through a color value or the keyword transparent. --MDN
The background-color CSS property sets the background color of an element, either through a color value or the keyword transparent. --MDN
- See also:
The background-image CSS property sets one or more background images on an element. The background images are drawn on stacking context layers on top of each other. The first layer specified is drawn as if it is closest to the user. The borders of the element are then drawn on top of them, and the background-color is drawn beneath them. --MDN
The background-image CSS property sets one or more background images on an element. The background images are drawn on stacking context layers on top of each other. The first layer specified is drawn as if it is closest to the user. The borders of the element are then drawn on top of them, and the background-color is drawn beneath them. --MDN
- See also:
The background-origin CSS property determines the background positioning area, that is the position of the origin of an image specified using the background-image CSS property.
The background-origin CSS property determines the background positioning area, that is the position of the origin of an image specified using the background-image CSS property.
Note that background-origin is ignored when background-attachment is fixed. --MDN
- See also:
The background-position CSS property sets the initial position, relative to the background position layer defined by background-origin for each defined background image. --MDN
The background-position CSS property sets the initial position, relative to the background position layer defined by background-origin for each defined background image. --MDN
- See also:
The background-repeat CSS property defines how background images are repeated. A background image can be repeated along the horizontal axis, the vertical axis, both, or not repeated at all. When the repetition of the image tiles doesn't let them exactly cover the background, the way adjustments are done can be controlled by the author: by default, the last image is clipped, but the different tiles can instead be re-sized, or space can be inserted between the tiles. --MDN
The background-repeat CSS property defines how background images are repeated. A background image can be repeated along the horizontal axis, the vertical axis, both, or not repeated at all. When the repetition of the image tiles doesn't let them exactly cover the background, the way adjustments are done can be controlled by the author: by default, the last image is clipped, but the different tiles can instead be re-sized, or space can be inserted between the tiles. --MDN
- See also:
The background-size CSS property specifies the size of the background images. The size of the image can be fully constrained or only partially in order to preserve its intrinsic ratio. --MDN
The background-size CSS property specifies the size of the background images. The size of the image can be fully constrained or only partially in order to preserve its intrinsic ratio. --MDN
- See also:
The border CSS property is a shorthand property for setting the individual border property values in a single place in the style sheet. border can be used to set the values for one or more of: border-width, border-style, border-color. --MDN
The border CSS property is a shorthand property for setting the individual border property values in a single place in the style sheet. border can be used to set the values for one or more of: border-width, border-style, border-color. --MDN
- See also:
The border-bottom CSS property is a shorthand that sets the values of border-bottom-color, border-bottom-style, and border-bottom-width. These properties describe the bottom border of elements. --MDN
The border-bottom CSS property is a shorthand that sets the values of border-bottom-color, border-bottom-style, and border-bottom-width. These properties describe the bottom border of elements. --MDN
- See also:
The border-bottom-color CSS property sets the color of the bottom border of an element. --MDN
The border-bottom-color CSS property sets the color of the bottom border of an element. --MDN
The border-bottom-left-radius CSS property sets the rounding of the bottom-left corner of the element. The rounding can be a circle or an ellipse, or if one of the value is 0 no rounding is done and the corner is square. --MDN
The border-bottom-left-radius CSS property sets the rounding of the bottom-left corner of the element. The rounding can be a circle or an ellipse, or if one of the value is 0 no rounding is done and the corner is square. --MDN
The border-bottom-right-radius CSS property sets the rounding of the bottom-right corner of the element. The rounding can be a circle or an ellipse, or if one of the value is 0 no rounding is done and the corner is square. --MDN
The border-bottom-right-radius CSS property sets the rounding of the bottom-right corner of the element. The rounding can be a circle or an ellipse, or if one of the value is 0 no rounding is done and the corner is square. --MDN
The border-bottom-style CSS property sets the line style of the bottom border of a box. --MDN
The border-bottom-style CSS property sets the line style of the bottom border of a box. --MDN
The border-bottom-width CSS property sets the line width of the bottom border of a box. --MDN
The border-bottom-width CSS property sets the line width of the bottom border of a box. --MDN
The border-collapse CSS property selects a table's border model. This has a big influence on the look and style of the table cells. --MDN
The border-collapse CSS property selects a table's border model. This has a big influence on the look and style of the table cells. --MDN
- See also:
The border-color CSS property is a shorthand for setting the color of the four sides of an element's border: border-top-color, border-right-color, border-bottom-color, border-left-color. --MDN
The border-color CSS property is a shorthand for setting the color of the four sides of an element's border: border-top-color, border-right-color, border-bottom-color, border-left-color. --MDN
- See also:
The border-image CSS property draws an image around a given element. It replaces the element's regular border. --MDN
The border-image CSS property draws an image around a given element. It replaces the element's regular border. --MDN
- See also:
The border-left CSS property is a shorthand that sets the values of border-left-color, border-left-style, and border-left-width. These properties describe the left border of elements. --MDN
The border-left CSS property is a shorthand that sets the values of border-left-color, border-left-style, and border-left-width. These properties describe the left border of elements. --MDN
- See also:
The border-left-color CSS property sets the color of the left border of an element. --MDN
The border-left-color CSS property sets the color of the left border of an element. --MDN
The border-left-style CSS property sets the line style of the left border of a box. --MDN
The border-left-style CSS property sets the line style of the left border of a box. --MDN
The border-left-width CSS property sets the line width of the left border of a box. --MDN
The border-left-width CSS property sets the line width of the left border of a box. --MDN
The border-radius CSS property allows Web authors to define how rounded border corners are. The curve of each corner is defined using one or two radii, defining its shape: circle or ellipse. --MDN
The border-radius CSS property allows Web authors to define how rounded border corners are. The curve of each corner is defined using one or two radii, defining its shape: circle or ellipse. --MDN
- See also:
The border-right CSS property is a shorthand that sets the values of border-right-color, border-right-style, and border-right-width. These properties describe the right border of elements. --MDN
The border-right CSS property is a shorthand that sets the values of border-right-color, border-right-style, and border-right-width. These properties describe the right border of elements. --MDN
- See also:
The border-right-color CSS property sets the color of the right border of an element. --MDN
The border-right-color CSS property sets the color of the right border of an element. --MDN
The border-right-style CSS property sets the line style of the right border of a box. --MDN
The border-right-style CSS property sets the line style of the right border of a box. --MDN
The border-right-width CSS property sets the line width of the right border of a box. --MDN
The border-right-width CSS property sets the line width of the right border of a box. --MDN
The border-spacing CSS property specifies the distance between the borders of adjacent cells (only for the separated borders model). This is equivalent to the cellspacing attribute in presentational HTML, but an optional second value can be used to set different horizontal and vertical spacing. --MDN
The border-spacing CSS property specifies the distance between the borders of adjacent cells (only for the separated borders model). This is equivalent to the cellspacing attribute in presentational HTML, but an optional second value can be used to set different horizontal and vertical spacing. --MDN
- See also:
The border-style CSS property is a shorthand property for setting the line style for all four sides of the element's border. --MDN
The border-style CSS property is a shorthand property for setting the line style for all four sides of the element's border. --MDN
- See also:
The border-top CSS property is a shorthand that sets the values of border-top-color, border-top-style, and border-top-width. These properties describe the top border of elements. --MDN
The border-top CSS property is a shorthand that sets the values of border-top-color, border-top-style, and border-top-width. These properties describe the top border of elements. --MDN
- See also:
The border-top-color CSS property sets the color of the top border of an element. --MDN
The border-top-color CSS property sets the color of the top border of an element. --MDN
The border-top-left-radius CSS property sets the rounding of the top-left corner of the element. The rounding can be a circle or an ellipse, or if one of the value is 0 no rounding is done and the corner is square. --MDN
The border-top-left-radius CSS property sets the rounding of the top-left corner of the element. The rounding can be a circle or an ellipse, or if one of the value is 0 no rounding is done and the corner is square. --MDN
The border-top-right-radius CSS property sets the rounding of the top-right corner of the element. The rounding can be a circle or an ellipse, or if one of the value is 0 no rounding is done and the corner is square. --MDN
The border-top-right-radius CSS property sets the rounding of the top-right corner of the element. The rounding can be a circle or an ellipse, or if one of the value is 0 no rounding is done and the corner is square. --MDN
The border-top-style CSS property sets the line style of the top border of a box. --MDN
The border-top-style CSS property sets the line style of the top border of a box. --MDN
The border-top-width CSS property sets the line width of the top border of a box. --MDN
The border-top-width CSS property sets the line width of the top border of a box. --MDN
The border-width CSS property is a shorthand property for setting the width for all four sides of the element's border. --MDN
The border-width CSS property is a shorthand property for setting the width for all four sides of the element's border. --MDN
- See also:
The bottom CSS property participates in specifying the position of positioned elements.
The bottom CSS property participates in specifying the position of positioned elements.
For absolutely positioned elements, that is those with position: absolute or position: fixed, it specifies the distance between the bottom margin edge of the element and the bottom edge of its containing block.
For relatively positioned elements, that is those with position: relative, it specifies the distance the element is moved above its normal position.
However, the top property overrides the bottom property, so if top is not auto, the computed value of bottom is the negative of the computed value of top. --MDN
- See also:
The box-shadow CSS property describes one or more shadow effects as a comma-separated list. It allows casting a drop shadow from the frame of almost any element. If a border-radius is specified on the element with a box shadow, the box shadow takes on the same rounded corners. The z-ordering of multiple box shadows is the same as multiple text shadows (the first specified shadow is on top). --MDN
The box-shadow CSS property describes one or more shadow effects as a comma-separated list. It allows casting a drop shadow from the frame of almost any element. If a border-radius is specified on the element with a box shadow, the box shadow takes on the same rounded corners. The z-ordering of multiple box shadows is the same as multiple text shadows (the first specified shadow is on top). --MDN
- See also:
The box-sizing CSS property is used to alter the default CSS box model used to calculate widths and heights of elements. It is possible to use this property to emulate the behavior of browsers that do not correctly support the CSS box model specification. --MDN
The box-sizing CSS property is used to alter the default CSS box model used to calculate widths and heights of elements. It is possible to use this property to emulate the behavior of browsers that do not correctly support the CSS box model specification. --MDN
- See also:
The clear CSS property specifies whether an element can be next to floating elements that precede it or must be moved down (cleared) below them.
The clear CSS property specifies whether an element can be next to floating elements that precede it or must be moved down (cleared) below them.
The clear property applies to both floating and non-floating elements. --MDN
- See also:
The clip CSS property defines what portion of an element is visible. The clip property applies only to elements with position:absolute. --MDN
The clip CSS property defines what portion of an element is visible. The clip property applies only to elements with position:absolute. --MDN
- See also:
The CSS color property sets the foreground color of an element's text content, and its decorations. It doesn't affect any other characteristic of the element; it should really be called text-color and would have been named so, save for historical reasons. --MDN
The CSS color property sets the foreground color of an element's text content, and its decorations. It doesn't affect any other characteristic of the element; it should really be called text-color and would have been named so, save for historical reasons. --MDN
- See also:
The column-count CSS property describes the number of columns of the element. --MDN
The column-count CSS property describes the number of columns of the element. --MDN
- See also:
The column-fill CSS property controls how contents are partitioned into columns. Contents are either balanced, which means that contents in all columns will have the same height or, when using auto, just take up the room the content needs. --MDN
The column-fill CSS property controls how contents are partitioned into columns. Contents are either balanced, which means that contents in all columns will have the same height or, when using auto, just take up the room the content needs. --MDN
- See also:
The column-gap CSS property sets the size of the gap between columns for elements which are specified to display as a multi-column element. --MDN
The column-gap CSS property sets the size of the gap between columns for elements which are specified to display as a multi-column element. --MDN
- See also:
In multi-column layouts, the column-rule CSS property specifies a straight line, or "rule", to be drawn between each column. It is a convenient shorthand to avoid setting each of the individual column-rule-* properties separately : column-rule-width, column-rule-style and column-rule-color. --MDN
In multi-column layouts, the column-rule CSS property specifies a straight line, or "rule", to be drawn between each column. It is a convenient shorthand to avoid setting each of the individual column-rule-* properties separately : column-rule-width, column-rule-style and column-rule-color. --MDN
- See also:
The column-rule-color CSS property lets you set the color of the rule drawn between columns in multi-column layouts. --MDN
The column-rule-color CSS property lets you set the color of the rule drawn between columns in multi-column layouts. --MDN
- See also:
The column-rule-style CSS property lets you set the style of the rule drawn between columns in multi-column layouts. --MDN
The column-rule-style CSS property lets you set the style of the rule drawn between columns in multi-column layouts. --MDN
The column-rule-width CSS property lets you set the width of the rule drawn between columns in multi-column layouts. --MDN
The column-rule-width CSS property lets you set the width of the rule drawn between columns in multi-column layouts. --MDN
- See also:
The column-span CSS property makes it possible for an element to span across
all columns when its value is set to all
. An element that spans more than
one column is called a spanning element. --MDN
The column-span CSS property makes it possible for an element to span across
all columns when its value is set to all
. An element that spans more than
one column is called a spanning element. --MDN
- See also:
The column-width CSS property suggests an optimal column width. This is not a absolute value but a mere hint. Browser will adjust the width of the column around that suggested value, allowing to achieve scalable designs that fit different screen size. Especially in presence of the column-count CSS property which has precedence, to set an exact column width, all Length values must be specified. In horizontal text these are width, column-width, column-gap, and column-rule-width --MDN
The column-width CSS property suggests an optimal column width. This is not a absolute value but a mere hint. Browser will adjust the width of the column around that suggested value, allowing to achieve scalable designs that fit different screen size. Especially in presence of the column-count CSS property which has precedence, to set an exact column width, all Length values must be specified. In horizontal text these are width, column-width, column-gap, and column-rule-width --MDN
- See also:
The columns CSS property is a shorthand property allowing to set both the column-width and the column-count properties at the same time. --MDN
The columns CSS property is a shorthand property allowing to set both the column-width and the column-count properties at the same time. --MDN
The content
CSS property is used with the ::before and ::after pseudo-elements
to generate content in an element. Objects inserted using the content
property are anonymous replaced elements. --MDN
The content
CSS property is used with the ::before and ::after pseudo-elements
to generate content in an element. Objects inserted using the content
property are anonymous replaced elements. --MDN
- See also:
The counter-increment CSS property is used to increase the value of CSS Counters by a given value. The counter's value can be reset using the counter-reset CSS property. --MDN
The counter-increment CSS property is used to increase the value of CSS Counters by a given value. The counter's value can be reset using the counter-reset CSS property. --MDN
- See also:
The counter-reset CSS property is used to reset CSS Counters to a given value. --MDN
The counter-reset CSS property is used to reset CSS Counters to a given value. --MDN
- See also:
The cursor CSS property specifies the mouse cursor displayed when the mouse pointer is over an element. --MDN
The cursor CSS property specifies the mouse cursor displayed when the mouse pointer is over an element. --MDN
- See also:
Set the direction CSS property to match the direction of the text: rtl for Hebrew or Arabic text and ltr for other scripts. This is typically done as part of the document (e.g., using the dir attribute in HTML) rather than through direct use of CSS.
Set the direction CSS property to match the direction of the text: rtl for Hebrew or Arabic text and ltr for other scripts. This is typically done as part of the document (e.g., using the dir attribute in HTML) rather than through direct use of CSS.
The property sets the base text direction of block-level elements and the direction of embeddings created by the unicode-bidi property. It also sets the default alignment of text and block-level elements and the direction that cells flow within a table row.
Unlike the dir attribute in HTML, the direction property is not inherited from table columns into table cells, since CSS inheritance follows the document tree, and table cells are inside of the rows but not inside of the columns.
The direction and unicode-bidi properties are the two only properties which are not affected by the all shorthand. --MDN
- See also:
The display CSS property specifies the type of rendering box used for an element. In HTML, default display property values are taken from behaviors described in the HTML specifications or from the browser/user default stylesheet. The default value in XML is inline.
The display CSS property specifies the type of rendering box used for an element. In HTML, default display property values are taken from behaviors described in the HTML specifications or from the browser/user default stylesheet. The default value in XML is inline.
In addition to the many different display box types, the value none lets you turn off the display of an element; when you use none, all descendant elements also have their display turned off. The document is rendered as though the element doesn't exist in the document tree. --MDN
- See also:
The empty-cells CSS property specifies how user agents should render borders and backgrounds around cells that have no visible content. --MDN
The empty-cells CSS property specifies how user agents should render borders and backgrounds around cells that have no visible content. --MDN
- See also:
The flex CSS property is a shorthand property specifying the ability of a flex item to alter its dimensions to fill available space. Flex items can be stretched to use available space proportional to their flex grow factor or their flex shrink factor to prevent overflow. --MDN
The flex CSS property is a shorthand property specifying the ability of a flex item to alter its dimensions to fill available space. Flex items can be stretched to use available space proportional to their flex grow factor or their flex shrink factor to prevent overflow. --MDN
- See also:
The CSS flex-basis property specifies the flex basis which is the initial main size of a flex item. The property determines the size of the content-box unless specified otherwise using box-sizing. --MDN
The CSS flex-basis property specifies the flex basis which is the initial main size of a flex item. The property determines the size of the content-box unless specified otherwise using box-sizing. --MDN
- See also:
The CSS flex-direction property specifies how flex items are placed in the flex container defining the main axis and the direction (normal or reversed).
The CSS flex-direction property specifies how flex items are placed in the flex container defining the main axis and the direction (normal or reversed).
Note that the value row and row-reverse are affected by the directionality of the flex container. If its dir attribute is ltr, row represents the horizontal axis oriented from the left to the right, and row-reverse from the right to the left; if the dir attribute is rtl, row represents the axis oriented from the right to the left, and row-reverse from the left to the right. --MDN
- See also:
The CSS flex-grow property specifies the flex grow factor of a flex item.
The CSS flex-grow property specifies the flex grow factor of a flex item.
Default value is 0. --MDN
- See also:
The CSS flex-shrink property specifies the flex shrink factor of a flex item.
The CSS flex-shrink property specifies the flex shrink factor of a flex item.
Default value is 1. --MDN
- See also:
The CSS flex-wrap property specifies whether the children are forced into a single line or if the items can be flowed on multiple lines. --MDN
The CSS flex-wrap property specifies whether the children are forced into a single line or if the items can be flowed on multiple lines. --MDN
- See also:
The float CSS property specifies that an element should be taken from the
normal flow and placed along the left or right side of its container, where
text and inline elements will wrap around it. A floating element is one
where the computed value of float is not none
. --MDN
The float CSS property specifies that an element should be taken from the
normal flow and placed along the left or right side of its container, where
text and inline elements will wrap around it. A floating element is one
where the computed value of float is not none
. --MDN
- See also:
The font CSS property is either a shorthand property for setting font-style, font-variant, font-weight, font-size, line-height and font-family, or a way to set the element's font to a system font, using specific keywords. --MDN
The font CSS property is either a shorthand property for setting font-style, font-variant, font-weight, font-size, line-height and font-family, or a way to set the element's font to a system font, using specific keywords. --MDN
The font-family CSS property allows for a prioritized list of font family names and/or generic family names to be specified for the selected element. Unlike most other CSS properties, values are separated by a comma to indicate that they are alternatives. The browser will select the first font on the list that is installed on the computer, or that can be downloaded using the information provided by a @font-face at-rule. --MDN
The font-family CSS property allows for a prioritized list of font family names and/or generic family names to be specified for the selected element. Unlike most other CSS properties, values are separated by a comma to indicate that they are alternatives. The browser will select the first font on the list that is installed on the computer, or that can be downloaded using the information provided by a @font-face at-rule. --MDN
- See also:
The font-feature-settings CSS property allows control over advanced typographic features in OpenType fonts.
The font-feature-settings CSS property allows control over advanced typographic features in OpenType fonts.
MDN
The font-size CSS property specifies the size of the font – specifically the desired height of glyphs from the font. Setting the font size may, in turn, change the size of other items, since it is used to compute the value of em and ex Length units.
The font-size CSS property specifies the size of the font – specifically the desired height of glyphs from the font. Setting the font size may, in turn, change the size of other items, since it is used to compute the value of em and ex Length units.
- See also:
The font-size-adjust CSS property sets the size of lower-case letters relative to the current font size (which defines the size of upper-case letters). --MDN
The font-size-adjust CSS property sets the size of lower-case letters relative to the current font size (which defines the size of upper-case letters). --MDN
This is useful since the legibility of fonts, especially at small sizes, is determined more by the size of lowercase letters than by the size of capital letters. This can cause problems when the first-choice font-family is unavailable and its replacement has a significantly different aspect ratio (the ratio of the size of lowercase letters to the size of the font).
Note: As of Dec 2021, only Firefox supports this
- See also:
The font-style CSS property allows italic or oblique faces to be selected within a font-family. --MDN
The font-style CSS property allows italic or oblique faces to be selected within a font-family. --MDN
- See also:
The font-weight CSS property specifies the weight or boldness of the font. However, some fonts are not available in all weights; some are available only on normal and bold.
The font-weight CSS property specifies the weight or boldness of the font. However, some fonts are not available in all weights; some are available only on normal and bold.
Numeric font weights for fonts that provide more than just normal and bold. If the exact weight given is unavailable, then 600-900 use the closest available darker weight (or, if there is none, the closest available lighter weight), and 100-500 use the closest available lighter weight (or, if there is none, the closest available darker weight). This means that for fonts that provide only normal and bold, 100-500 are normal, and 600-900 are bold. --MDN
- See also:
The height CSS property specifies the height of the content area of an element. The content area is inside the padding, border, and margin of the element.
The height CSS property specifies the height of the content area of an element. The content area is inside the padding, border, and margin of the element.
The min-height and max-height properties override height. --MDN
- See also:
The CSS justify-content property defines how a browser distributes available space between and around elements when aligning flex items in the main-axis of the current line. The alignment is done after the lengths and auto margins are applied, meaning that, if there is at least one flexible element, with flex-grow different than 0, it will have no effect as there won't be any available space. --MDN
The CSS justify-content property defines how a browser distributes available space between and around elements when aligning flex items in the main-axis of the current line. The alignment is done after the lengths and auto margins are applied, meaning that, if there is at least one flexible element, with flex-grow different than 0, it will have no effect as there won't be any available space. --MDN
- See also:
The left CSS property specifies part of the position of positioned elements.
The left CSS property specifies part of the position of positioned elements.
For absolutely positioned elements (those with position: absolute or position: fixed), it specifies the distance between the left margin edge of the element and the left edge of its containing block. --MDN
- See also:
The letter-spacing CSS property specifies spacing behavior between text characters. --MDN
The letter-spacing CSS property specifies spacing behavior between text characters. --MDN
https://developer.mozilla.org/en-US/docs/Web/CSS/letter-spacing
On block level elements, the line-height CSS property specifies the minimal height of line boxes within the element.
On block level elements, the line-height CSS property specifies the minimal height of line boxes within the element.
On non-replaced inline elements, line-height specifies the height that is used in the calculation of the line box height.
On replaced inline elements, like buttons or other input element, line-height has no effect. --MDN
The list-style CSS property is a shorthand property for setting list-style-type, list-style-image and list-style-position. --MDN
The list-style CSS property is a shorthand property for setting list-style-type, list-style-image and list-style-position. --MDN
- See also:
The list-style-image CSS property sets the image that will be used as the list item marker. --MDN
The list-style-image CSS property sets the image that will be used as the list item marker. --MDN
- See also:
The list-style-position CSS property specifies the position of the marker box in the principal block box. --MDN
The list-style-position CSS property specifies the position of the marker box in the principal block box. --MDN
- See also:
The list-style-type CSS property sets the marker (such as a disc, character, or custom counter style) of a list item element. --MDN
The list-style-type CSS property sets the marker (such as a disc, character, or custom counter style) of a list item element. --MDN
- See also:
The margin CSS property sets the margin for all four sides. It is a shorthand to avoid setting each side separately with the other margin properties: margin-top, margin-right, margin-bottom and margin-left.
The margin CSS property sets the margin for all four sides. It is a shorthand to avoid setting each side separately with the other margin properties: margin-top, margin-right, margin-bottom and margin-left.
Negative values are also allowed. --MDN
- See also:
The margin-bottom CSS property of an element sets the margin space required on the bottom of an element. A negative value is also allowed. --MDN
The margin-bottom CSS property of an element sets the margin space required on the bottom of an element. A negative value is also allowed. --MDN
The margin-left CSS property of an element sets the margin space required on the left of an element. A negative value is also allowed. --MDN
The margin-left CSS property of an element sets the margin space required on the left of an element. A negative value is also allowed. --MDN
The margin-right CSS property of an element sets the margin space required on the right of an element. A negative value is also allowed. --MDN
The margin-right CSS property of an element sets the margin space required on the right of an element. A negative value is also allowed. --MDN
The margin-top CSS property of an element sets the margin space required on the top of an element. A negative value is also allowed. --MDN
The margin-top CSS property of an element sets the margin space required on the top of an element. A negative value is also allowed. --MDN
If the value is a URI value, the element pointed to by the URI is used as an SVG mask. --MDN
If the value is a URI value, the element pointed to by the URI is used as an SVG mask. --MDN
- See also:
The max-height CSS property is used to set the maximum height of a given element. It prevents the used value of the height property from becoming larger than the value specified for max-height.
The max-height CSS property is used to set the maximum height of a given element. It prevents the used value of the height property from becoming larger than the value specified for max-height.
max-height overrides height, but min-height overrides max-height. --MDN
- See also:
The max-width CSS property is used to set the maximum width of a given element. It prevents the used value of the width property from becoming larger than the value specified for max-width.
The max-width CSS property is used to set the maximum width of a given element. It prevents the used value of the width property from becoming larger than the value specified for max-width.
max-width overrides width, but min-width overrides max-width. --MDN
- See also:
The min-height CSS property is used to set the minimum height of a given element. It prevents the used value of the height property from becoming smaller than the value specified for min-height.
The min-height CSS property is used to set the minimum height of a given element. It prevents the used value of the height property from becoming smaller than the value specified for min-height.
The value of min-height overrides both max-height and height. --MDN
- See also:
The min-width CSS property is used to set the minimum width of a given element. It prevents the used value of the width property from becoming smaller than the value specified for min-width.
The min-width CSS property is used to set the minimum width of a given element. It prevents the used value of the width property from becoming smaller than the value specified for min-width.
The value of min-width overrides both max-width and width. --MDN
- See also:
The opacity CSS property specifies the transparency of an element, that is, the degree to which the background behind the element is overlaid.
The opacity CSS property specifies the transparency of an element, that is, the degree to which the background behind the element is overlaid.
The value applies to the element as a whole, including its contents, even though the value is not inherited by child elements. Thus, an element and its contained children all have the same opacity relative to the element's background, even if the element and its children have different opacities relative to one another.
Using this property with a value different than 1 places the element in a new stacking context. --MDN
- See also:
The orphans CSS property refers to the minimum number of lines in a block container that must be left at the bottom of the page. This property is normally used to control how page breaks occur. --MDN
The orphans CSS property refers to the minimum number of lines in a block container that must be left at the bottom of the page. This property is normally used to control how page breaks occur. --MDN
Note: Firefox does not support this property
- See also:
The CSS outline property is a shorthand property for setting one or more of the individual outline properties outline-style, outline-width and outline-color in a single rule. In most cases the use of this shortcut is preferable and more convenient.
The CSS outline property is a shorthand property for setting one or more of the individual outline properties outline-style, outline-width and outline-color in a single rule. In most cases the use of this shortcut is preferable and more convenient.
Outlines do not take up space, they are drawn above the content. --MDN
- See also:
The outline-color CSS property sets the color of the outline of an element. An outline is a line that is drawn around elements, outside the border edge, to make the element stand out. --MDN
The outline-color CSS property sets the color of the outline of an element. An outline is a line that is drawn around elements, outside the border edge, to make the element stand out. --MDN
Note: "invert" is a special outline color you can use for high contrast.
- See also:
The outline-style CSS property is used to set the style of the outline of an element. An outline is a line that is drawn around elements, outside the border edge, to make the element stand out. --MDN
The outline-style CSS property is used to set the style of the outline of an element. An outline is a line that is drawn around elements, outside the border edge, to make the element stand out. --MDN
- See also:
The outline-width CSS property is used to set the width of the outline of an element. An outline is a line that is drawn around elements, outside the border edge, to make the element stand out. --MDN
The outline-width CSS property is used to set the width of the outline of an element. An outline is a line that is drawn around elements, outside the border edge, to make the element stand out. --MDN
- See also:
The overflow CSS property specifies whether to clip content, render scroll bars or display overflow content of a block-level element. --MDN
The overflow CSS property specifies whether to clip content, render scroll bars or display overflow content of a block-level element. --MDN
- See also:
The overflow-wrap CSS property specifies whether or not the browser should insert line breaks within words to prevent text from overflowing its content box. --MDN
The overflow-wrap CSS property specifies whether or not the browser should insert line breaks within words to prevent text from overflowing its content box. --MDN
Alias for: wordWrap
https://developer.mozilla.org/en-US/docs/Web/CSS/overflow-wrap
The overflow-x CSS property specifies whether to clip content, render a scroll bar or display overflow content of a block-level element, when it overflows at the left and right edges. --MDN
The overflow-x CSS property specifies whether to clip content, render a scroll bar or display overflow content of a block-level element, when it overflows at the left and right edges. --MDN
- See also:
The overflow-y CSS property specifies whether to clip content, render a scroll bar, or display overflow content of a block-level element, when it overflows at the top and bottom edges. --MDN
The overflow-y CSS property specifies whether to clip content, render a scroll bar, or display overflow content of a block-level element, when it overflows at the top and bottom edges. --MDN
- See also:
The padding CSS property sets the required padding space on all sides of an element. The padding area is the space between the content of the element and its border. Negative values are not allowed.
The padding CSS property sets the required padding space on all sides of an element. The padding area is the space between the content of the element and its border. Negative values are not allowed.
The padding property is a shorthand to avoid setting each side separately (padding-top, padding-right, padding-bottom, padding-left). --MDN
The padding-bottom CSS property of an element sets the height of the padding area at the bottom of an element. The padding area is the space between the content of the element and it's border. Contrary to margin-bottom values, negative values of padding-bottom are invalid. --MDN
The padding-bottom CSS property of an element sets the height of the padding area at the bottom of an element. The padding area is the space between the content of the element and it's border. Contrary to margin-bottom values, negative values of padding-bottom are invalid. --MDN
The padding-left CSS property of an element sets the padding space required on the left side of an element. The padding area is the space between the content of the element and it's border. A negative value is not allowed. --MDN
The padding-left CSS property of an element sets the padding space required on the left side of an element. The padding area is the space between the content of the element and it's border. A negative value is not allowed. --MDN
The padding-right CSS property of an element sets the padding space required on the right side of an element. The padding area is the space between the content of the element and its border. Negative values are not allowed. --MDN
The padding-right CSS property of an element sets the padding space required on the right side of an element. The padding area is the space between the content of the element and its border. Negative values are not allowed. --MDN
The padding-top CSS property of an element sets the padding space required on the top of an element. The padding area is the space between the content of the element and its border. Contrary to margin-top values, negative values of padding-top are invalid. --MDN
The padding-top CSS property of an element sets the padding space required on the top of an element. The padding area is the space between the content of the element and its border. Contrary to margin-top values, negative values of padding-top are invalid. --MDN
The page-break-after CSS property adjusts page breaks after the current element. --MDN
The page-break-after CSS property adjusts page breaks after the current element. --MDN
- See also:
The page-break-before CSS property adjusts page breaks before the current element.
The page-break-before CSS property adjusts page breaks before the current element.
This properties applies to block elements that generate a box. It won't apply on an empty div that won't generate a box. --MDN
- See also:
The page-break-inside CSS property adjusts page breaks inside the current element. --MDN
The page-break-inside CSS property adjusts page breaks inside the current element. --MDN
- See also:
The perspective CSS property determines the distance between the z=0 plane and the user in order to give to the 3D-positioned element some perspective. Each 3D element with z>0 becomes larger; each 3D-element with z<0 becomes smaller. The strength of the effect is determined by the value of this property. --MDN
The perspective CSS property determines the distance between the z=0 plane and the user in order to give to the 3D-positioned element some perspective. Each 3D element with z>0 becomes larger; each 3D-element with z<0 becomes smaller. The strength of the effect is determined by the value of this property. --MDN
- See also:
The perspective-origin CSS property determines the position the viewer is looking at. It is used as the vanishing point by the perspective property. --MDN
The perspective-origin CSS property determines the position the viewer is looking at. It is used as the vanishing point by the perspective property. --MDN
- See also:
The CSS property pointer-events allows authors to control under what circumstances (if any) a particular graphic element can become the target of mouse events. When this property is unspecified, the same characteristics of the visiblePainted value apply to SVG content.
The CSS property pointer-events allows authors to control under what circumstances (if any) a particular graphic element can become the target of mouse events. When this property is unspecified, the same characteristics of the visiblePainted value apply to SVG content.
In addition to indicating that the element is not the target of mouse events, the value none instructs the mouse event to go "through" the element and target whatever is "underneath" that element instead. --MDN
- See also:
The position CSS property chooses alternative rules for positioning elements, designed to be useful for scripted animation effects. --MDN
The position CSS property chooses alternative rules for positioning elements, designed to be useful for scripted animation effects. --MDN
- See also:
The quotes CSS property sets how the browser should render quotation marks that are added using the open-quotes or close-quotes values of the CSS content property. --MDN
The quotes CSS property sets how the browser should render quotation marks that are added using the open-quotes or close-quotes values of the CSS content property. --MDN
- See also:
The resize CSS property sets whether an element is resizable, and if so, in which direction(s). --MDN
The resize CSS property sets whether an element is resizable, and if so, in which direction(s). --MDN
- See also:
The right CSS property specifies part of the position of positioned elements.
The right CSS property specifies part of the position of positioned elements.
For absolutely positioned elements (those with position: absolute or position: fixed), it specifies the distance between the right margin edge of the element and the right edge of its containing block.
The right property has no effect on non-positioned elements.
When both the right CSS property and the left CSS property are defined, the position of the element is overspecified. In that case, the left value has precedence when the container is left-to-right (that is that the right computed value is set to -left), and the right value has precedence when the container is right-to-left (that is that the left computed value is set to -right). --MDN
- See also:
The table-layout CSS property sets the algorithm used to lay out