properties

< css
Jump to: navigation, search

properties

This article is Not Ready.


Summary

CSS properties are the key to altering the styling of HTML elements in your web documents.


API Name Summary
font-variant Selects a normal, or small-caps face from a font family. Also possible by using the font shorthand.
-ms-flex-pack Gets or sets a value that specifies how excess space is distributed (along the axis defined by the -ms-flex-direction property) between child elements of the object.
align-content Aligns a flex container's lines within the flex container when there is extra space in the cross-axis, similar to how justify-content aligns individual items within the main-axis.
align-items Sets the default alignment in the cross axis for all of the flex container's items, including anonymous flex items, similarly to how justify-content aligns items along the main axis.
align-self Allows the default alignment to be overridden for individual flex items.
alignment-adjust This property allows precise alignment of elements, such as graphics, that do not have a baseline-table or lack the desired baseline in their baseline-table. With the alignment-adjust property, the position of the baseline identified by the alignment-baseline can be explicitly determined. It also determines precisely the alignment point for each glyph within a textual element.
alignment-baseline
animation-delay Defines a length of time to elapse before an animation starts, allowing an animation to begin execution some time after it is applied.
animation-direction Defines whether an animation should run in reverse on some or all cycles.
animation-iteration-count Specifies how many times an animation cycle should play.
animation-name Defines the list of animations that apply to the element.
animation-play-state Defines whether an animation is running or paused.
appearance Allows changing the style of any element to platform-based interface elements or vice versa.
backface-visibility Determines whether or not the “back” side of a transformed element is visible when facing the viewer.
background-blend-mode This property describes how the element's background images should blend with each other and the element's background color.

The value is a list of blend modes that corresponds to each background image. Each element in the list will apply to the corresponding element of background-image. If a property doesn’t have enough comma-separated values to match the number of layers, the UA must calculate its used value by repeating the list of values until there are enough.

background-composite
background-image Applies one or more background images to an element. These can be any valid CSS image, including url() paths to image files or CSS gradients.
background-origin Specifies what the background-position property is relative to.
background-position-x Sets the horizontal position of a background image.
background-repeat Background-repeat defines if and how background images will be repeated after they have been sized and positioned
baseline-shift Obsolete - spec retired, not implemented.
behavior Non standard. Sets or retrieves the location of the Dynamic HTML (DHTML) behavior.
border Shorthand property that defines the different properties of all four sides of an element's border in a single declaration. It can be used to set border-width, border-style and border-color, or a subset of these.
border-bottom-left-radius Defines the shape of the border of the bottom-left corner.
border-bottom-right-radius Defines the shape of the border of the bottom-right corner.
border-bottom-width Sets the width of an element's bottom border. To set all four borders, use the border-width shorthand property which sets the values simultaneously for border-top-width, border-right-width, border-bottom-width, and border-left-width.
border-collapse Border-collapse can be used for collapsing the borders between table cells
border-color The CSS border-color property sets the color of an element's four borders. This property can have from one to four values, made up of the elementary properties:

The default color is the currentColor of each of these values.

If you provide one value, it sets the color for the element. Two values set the horizontal and vertical values, respectively. Providing three values sets the top, vertical, and bottom values, in that order. Four values set all for sides: top, right, bottom, and left, in that order.

border-corner-shape Specifies different corner clipping effects, such as scoop (inner curves), bevel (straight cuts) or notch (cut-off rectangles). Works along with border-radius to specify the size of each corner effect.
border-image-source The property border-image-source is used to set the image to be used instead of the border style. If this is set to none the border-style is used instead.
border-image-width The border-image-width CSS property defines the offset to use for dividing the border image in nine parts, the top-left corner, central top edge, top-right-corner, central right edge, bottom-right corner, central bottom edge, bottom-left corner, and central right edge. They represent inward distance from the top, right, bottom, and left edges.
border-left Shorthand property that defines the border-width, border-style and border-color of an element's left border in a single declaration. Note that you can use the corresponding longhand properties to set specific individual properties of the left border — border-left-width, border-left-style and border-left-color.
border-left-color The CSS border-left-color property sets the color of an element's left border. This page explains the border-left-color value, but often you will find it more convenient to fix the border's left color as part of a shorthand set, either border-left or border-color.

Colors can be defined several ways. For more information, see Usage.

border-left-style Sets the style of an element's left border. To set all four borders, use the shorthand property, border-style. Otherwise, you can set the borders individually with border-top-style, border-right-style, border-bottom-style, border-left-style.
border-left-width Sets the width of an element's left border. To set all four borders, use the border-width shorthand property which sets the values simultaneously for border-top-width, border-right-width, border-bottom-width, and border-left-width.
border-right Shorthand property that defines the border-width, border-style and border-color of an element's right border in a single declaration. Note that you can use the corresponding longhand properties to set specific individual properties of the right border — border-right-width, border-right-style and border-right-color.
border-right-color Sets the color of an element's right border. This page explains the border-right-color value, but often you will find it more convenient to fix the border's right color as part of a shorthand set, either border-right or border-color.

Colors can be defined several ways. For more information, see Usage.

border-right-style Sets the style of an element's right border. To set all four borders, use the shorthand property, border-style. Otherwise, you can set the borders individually with border-top-style, border-right-style, border-bottom-style, border-left-style.
border-right-width Sets the width of an element's right border. To set all four borders, use the border-width shorthand property which sets the values simultaneously for border-top-width, border-right-width, border-bottom-width, and border-left-width.
border-spacing Specifies the distance between the borders of adjacent cells.
border-style Sets the style of an element's four borders. This property can have from one to four values. With only one value, the value will be applied to all four borders; otherwise, this works as a shorthand property for each of border-top-style, border-right-style, border-bottom-style, border-left-style, where each border style may be assigned a separate value.
border-top Shorthand property that defines the border-width, border-style and border-color of an element's top border in a single declaration. Note that you can use the corresponding longhand properties to set specific individual properties of the top border — border-top-width, border-top-style and border-top-color.
border-top-color Sets the color of an element's top border. This page explains the border-top-color value, but often you will find it more convenient to fix the border's top color as part of a shorthand set, either border-top or border-color.

Colors can be defined several ways. For more information, see Usage.

border-top-left-radius Sets the rounding of the top-left corner of the element.
border-top-right-radius Sets the rounding of the top-right corner of the element.
border-top-style Sets the style of an element's top border. To set all four borders, use the shorthand property, border-style. Otherwise, you can set the borders individually with border-top-style, border-right-style, border-bottom-style, border-left-style.
border-top-width Sets the width of an element's top border. To set all four borders, use the border-width shorthand property which sets the values simultaneously for border-top-width, border-right-width, border-bottom-width, and border-left-width.
border-width Sets the width of an element's four borders. This property can have from one to four values. This is a shorthand property for setting values simultaneously for border-top-width, border-right-width, border-bottom-width, and border-left-width.
box-align Obsolete.
box-decoration-break Breaks a box into fragments creating new borders, padding and repeating backgrounds or lets it stay as a continuous box on a page break, column break, or, for inline elements, at a line break.
See more pages...