CSS3 Properties

CSS3 Properties

On this page, you can find all the CSS3 property groups with references and short descriptions.

List of CSS3 Properties

List of CSS3 Properties

Animation Properties

PropertyDescription
animationAnimates (gradually changes from one style to another) CSS properties with discrete values.
animation-delaySpecifies when an animation will start.
animation-directionSets how animation should be played: forwards, backwards or in alternate cycles.
animation-durationDefines the length of time (in seconds or milliseconds) that an animation takes to complete one cycle of animation.
animation-fill-modeSets a style to the element when the animation is not executing (before it starts, after it ends, or both).
animation-iteration-countDefines how many times the animation should be played.
animation-nameDefines the name of the @keyframes rule you want to apply. It has two values: none and keyframename.
animation-play-stateSpecifies if the animation is running or it is paused.
animation-timing-functionDefines how the animation will progress over the duration of each cycle, not throughout the whole of the animation.
@keyframesThe @keyframes at-rule is the basis for keyframe animations used to animate (gradually change from one style to another) many CSS properties.

Background Properties

PropertyDescription
background-clipSpecifies how far the background-color and background-image should be from the element.
background-originSpecifies the background positioning area of a background-image.
background-sizeDefines the size of the background image.

Border Properties

PropertyDescription
border-bottom-left-radiusDefines the round shape of the bottom left corner of the element.
border-bottom-right-radiusSets the rounding of the bottom-right corner of the element.
border-imageAllows to specify an image as the border around an element.
border-image-outsetSpecifies the amount by which the border image is extended beyond the element’s border box.
border-image-repeatSpecifies if the border-image will be rounded, repeated or stretched.
border-image-sliceSpecifies how to slice the image specified by border-image-source into nine regions: four corners, four edges, a middle part.
border-image-sourceSets the source image for creating an element’s border image.
border-image-widthDefines the width of the border image.
border-radiusMakes rounded corners for the outer border edge of an element.
border-top-left-radiusDefines the rounding of the top left corner of the element. There are three kinds of rounding.
border-top-right-radiusDefines the round shape of the top right corner of the element. There are three kinds of rounding.

Color Properties

PropertyDescription
opacitySpecifies the transparency of an element.

Flexible Box Layout

PropertyDescription
align-contentAligns a flex container’s lines, when there is available space vertically (on the cross-axis).
align-itemsDefines the default alignment for flex items. It is the same as the justify-content property but the vertical version.
flexSpecifies the components of a flexible length.
flex-basisDefines the initial main size of the flexible item.
flex-directionDefines the main axis of a flex container and sets the order in which flex items appear.
flex-flowA shorthand property for the flex-wrap and flex-direction properties.
flex-growSpecifies how much the item will grow relative to the rest of the items of the flex container.
flex-shrinkSpecifies how much the item will shrink relative to the rest of the items of the flex container.
flex-wrapSpecifies if the flexible items should wrap or not.
justify-contentAligns the items when the items do not use all available space horizontally.
orderSpecifies the order of a flexible item inside the flex or grid container.

Font Properties

PropertyDescription
font-size-adjustControls the font size when the first selected font is unavailable.
font-stretchMakes the text narrower or wider.

Multi-column Layout Properties

PropertyDescription
column-countSpecifies the number of columns which divides the content of an element.
column-fillControls the element’s content when it is divided into columns.
column-gapSets the length of the gap between columns.
column-ruleDefines the style, the width and the color of the rule between columns.
column-rule-colorSets the color of the rule.
column-rule-styleDefines the rule’s style between columns.
column-rule-widthDefines the width of the rule between columns.
column-spanSpecifies whether the element spans across one column or all columns.
column-widthDefines the width of columns.
columnsA shorthand property for column-count and column-width.

Outline Properties

PropertyDescription
outline-offsetSpecifies the space between an outline and the border edge of an element.

Text Properties

PropertyDescription
tab-sizeSets the width of a tab character.
text-align-lastSets the alignment of the last line of the text.
text-decoration-colorSets the color of the text decoration.
text-decoration-lineSpecifies the kind of line which will be used for text decoration.
text-decoration-styleSpecifies the style of the text decoration.
text-justifyDefines the behavior of spacing between words or characters.
text-overflowSpecifies how the overflowing inline text should be signaled to the user.
text-shadowAllows to add shadows to the text.
column-widthDefines the width of columns.
word-breakSpecifies where the lines should be broken.
word-wrapAllows breaking lines into words so as to fit in its container.

Transform Properties

PropertyDescription
backface-visibilitySpecifies whether the back face of an element should be visible or not.
perspectiveGives a 3D-positioned element some perspective and determines the distance between the z=0 plane.
perspective-originDefines the position at which the user is looking at the 3D-positioned element.
transformSpecifies two-dimensional or three-dimensional transformation of the element.
transform-originAllows to change the position of the elements’ transformation.
transform-styleSpecifies how the children elements are rendered in three dimensional (3D) space.

Transitions Properties

PropertyDescription
transitionShorthand property for the following properties: transition-property, transition-duration, transition-timing-function, transition-delay
transition-delaySpecifies when the transition effect should start.
transition-durationSpecifies how long the transition animation should take.
transition-propertySpecifies the names of the properties for the transition.
transition-timing-functionSpecifies transition proceeding over its duration allowing to change the speed.

Visual formatting Properties

PropertyDescription
overflow-xSpecifies whether the content should be hidden, visible or scrolls horizontally when the content overflows the element’s left and right edges.
overflow-ySpecifies whether the content should be hidden, visible or scrolls vertically when the content overflows the element’s top and bottom edges.
resizeSpecifies how the element is resizable.
box-shadowAllows to implement multiple shadows around the box specifying values for color, size, blur, offset and inset.
box-sizingDefines the calculation of the width and height of an element, if they include padding and borders.


请遵守《互联网环境法规》文明发言,欢迎讨论问题
扫码反馈

扫一扫,反馈当前页面

咨询反馈
扫码关注
返回顶部