CSS3 Properties

April 29, 2026 · View on GitHub


Animation Properties

Sl.NoPropertyDescription
01.animationSpecifies the keyframe-based animations.
02.animation-delaySpecifies when the animation will start.
03.animation-directionSpecifies whether the animation should play in reverse on alternate cycles or not.
04.animation-durationSpecifies the number of seconds or milliseconds an animation should take to complete one cycle.
05.animation-fill-modeSpecifies how a CSS animation should apply styles to its target before and after it is executing.
06.animation-iteration-countSpecifies the number of times an animation cycle should be played before stopping.
07.animation-nameSpecifies the name of @keyframes defined animations that should be applied to the selected element.
08.animation-play-stateSpecifies whether the animation is running or paused.
09.animation-timing-functionSpecifies how a CSS animation should progress over the duration of each cycle.
10.animation-compositionSpecifies how an animation's effect value combines with the underlying value of the property being animated.
11.animation-timelineSpecifies the timeline that is used to control the progress of a CSS animation.
↥ back to top

Background Properties

Sl.NoPropertyDescription
01.backgroundSets all the background properties in one declaration
02.background-attachmentSets whether a background image is fixed or scrolls with the rest of the page
03.background-clipSpecifies the painting area of the background
04.background-colorSets the background color of an element
05.background-imageSets the background image for an element
06.background-originSpecifies where the background image(s) is/are positioned
07.background-positionSets the starting position of a background image
08.background-repeatSets how a background image will be repeated
09.background-sizeSpecifies the size of the background image(s)
↥ back to top

Border Properties

Sl.NoPropertyDescription
01.borderSets the width, style, and color for all four sides of an element's border.
02.border-bottomSets the width, style, and color of the bottom border of an element.
03.border-bottom-colorSets the color of the bottom border of an element.
04.border-bottom-left-radiusDefines the shape of the bottom-left border corner of an element.
05.border-bottom-right-radiusDefines the shape of the bottom-right border corner of an element.
06.border-bottom-styleSets the style of the bottom border of an element.
07.border-bottom-widthSets the width of the bottom border of an element.
08.border-colorSets the color of the border on all the four sides of an element.
09.border-imageSpecifies how an image is to be used in place of the border styles.
11.border-image-outsetSpecifies the amount by which the border image area extends beyond the border box.
12.border-image-repeatSpecifies whether the image-border should be repeated, rounded or stretched.
13.border-image-sliceSpecifies the inward offsets of the image-border.
14.border-image-sourceSpecifies the location of the image to be used as a border.
15.border-image-widthSpecifies the width of the image-border.
16.border-leftSets the width, style, and color of the left border of an element.
17.border-left-colorSets the color of the left border of an element.
18.border-left-styleSets the style of the left border of an element.
19.border-left-widthSets the width of the left border of an element.
20.border-radiusDefines the shape of the border corners of an element.
21.border-rightSets the width, style, and color of the right border of an element.
22.border-right-colorSets the color of the right border of an element.
23.border-right-styleSets the style of the right border of an element.
24.border-right-widthSets the width of the right border of an element.
25.border-styleSets the style of the border on all the four sides of an element.
26.border-topSets the width, style, and color of the top border of an element.
27.border-top-colorSets the color of the top border of an element.
28.border-top-left-radiusDefines the shape of the top-left border corner of an element.
29.border-top-right-radiusDefines the shape of the top-right border corner of an element.
30.border-top-styleSets the style of the top border of an element.
31.border-top-widthSets the width of the top border of an element.
32.border-widthSets the width of the border on all the four sides of an element.
↥ back to top

Color Properties

Sl.NoPropertyDescription
01.colorSpecify the color of the text of an element.
02.opacitySpecifies the transparency of an element.
03.accent-colorSets the accent color for UI controls like checkboxes, radio buttons, and range inputs.
04.caret-colorSets the color of the text insertion cursor (caret) in an editable field.
05.color-schemeIndicates which color schemes (light/dark) an element can be rendered in.
↥ back to top

Dimension Properties

Sl.NoPropertyDescription
01.heightSpecify the height of an element.
02.max-heightSpecify the maximum height of an element.
03.max-widthSpecify the maximum width of an element.
04.min-heightSpecify the minimum height of an element.
05.min-widthSpecify the minimum width of an element.
06.widthSpecify the width of an element.
07.aspect-ratioSets a preferred aspect ratio for the box, used in the calculation of auto sizes.
08.inline-sizeDefines the horizontal or vertical size of an element's box depending on its writing mode.
09.block-sizeDefines the horizontal or vertical size of an element's box depending on its writing mode.
↥ back to top

Generated Content Properties

Sl.NoPropertyDescription
01.contentInserts generated content.
02.quotesSpecifies quotation marks for embedded quotations.
03.counter-resetCreates or resets one or more counters.
04.counter-incrementIncrements one or more counter values.
↥ back to top

Flexible Box Layout

Sl.NoPropertyDescription
01.align-contentSpecifies the alignment of flexible container's items within the flex container.
02.align-itemsSpecifies the default alignment for items within the flex container.
03.align-selfSpecifies the alignment for selected items within the flex container.
04.flexSpecifies the components of a flexible length.
05.flex-basisSpecifies the initial main size of the flex item.
06.flex-directionSpecifies the direction of the flexible items.
07.flex-flowA shorthand property for the flex-direction and the flex-wrap properties.
08.flex-growSpecifies how the flex item will grow relative to the other items inside the flex container.
09.flex-shrinkSpecifies how the flex item will shrink relative to the other items inside the flex container.
10.flex-wrapSpecifies whether the flexible items should wrap or not.
11.justify-contentSpecifies how flex items are aligned along the main axis of the flex container after any flexible lengths and auto margins have been resolved.
12.orderSpecifies the order in which a flex items are displayed and laid out within a flex container.
13.gapA shorthand for row-gap and column-gap in flex and grid containers.
14.row-gapSets the size of the gap between rows in a flex or grid container.
15.column-gapSets the size of the gap between columns in a flex or grid container.
16.justify-itemsDefines the default justify-self for all items within the container.
17.justify-selfSets the way a single box is justified inside its alignment container along the inline axis.
18.place-contentA shorthand for align-content and justify-content.
19.place-itemsA shorthand for align-items and justify-items.
20.place-selfA shorthand for align-self and justify-self.
↥ back to top

Font Properties

Sl.NoPropertyDescription
01.fontDefines a variety of font properties within one declaration.
02.font-familyDefines a list of fonts for element.
03.font-sizeDefines the font size for the text.
04.font-size-adjustPreserves the readability of text when font fallback occurs.
05.font-stretchSelects a normal, condensed, or expanded face from a font.
06.font-styleDefines the font style for the text.
07.font-variantSpecify the font variant.
08.font-weightSpecify the font weight of the text.
09.font-feature-settingsAllows control over advanced typographic features in OpenType fonts.
10.font-kerningControls the use of the kerning information stored in a font.
11.font-optical-sizingSets whether text rendering is optimized for viewing at different sizes.
12.font-synthesisControls which missing typefaces (bold, italic, small-caps) may be synthesized by the browser.
13.font-variation-settingsProvides low-level control over OpenType or TrueType font variations.
↥ back to top

List Properties

Sl.NoPropertyDescription
01.list-styleDefines the display style for a list and list elements.
02.list-style-imageSpecifies the image to be used as a list-item marker.
03.list-style-positionSpecifies the position of the list-item marker.
04.list-style-typeSpecifies the marker style for a list-item.
↥ back to top

Margin Properties

Sl.NoPropertyDescription
01.marginSets the margin on all four sides of the element.
02.margin-bottomSets the bottom margin of the element.
03.margin-leftSets the left margin of the element.
04.margin-rightSets the right margin of the element.
05.margin-topSets the top margin of the element.
↥ back to top

Multi-column Layout Properties

Sl.NoPropertyDescription
01.column-countSpecifies the number of columns in a multi-column element.
02.column-fillSpecifies how columns will be filled.
03.column-gapSpecifies the gap between the columns in a multi-column element.
04.column-ruleSpecifies a straight line, or "rule", to be drawn between each column in a multi-column element.
05.column-rule-colorSpecifies the color of the rules drawn between columns in a multi-column layout.
06.column-rule-styleSpecifies the style of the rule drawn between the columns in a multi-column layout.
07.column-rule-widthSpecifies the width of the rule drawn between the columns in a multi-column layout.
08.column-spanSpecifies how many columns an element spans across in a multi-column layout.
09.column-widthSpecifies the optimal width of the columns in a multi-column element.
10.columnsA shorthand property for setting column-width and column-count properties.
↥ back to top

Outline Properties

Sl.NoPropertyDescription
01.outlineSets the width, style, and color for all four sides of an element's outline.
02.outline-colorSets the color of the outline.
03.outline-offsetSet the space between an outline and the border edge of an element.
04.outline-styleSets a style for an outline.
05.outline-widthSets the width of the outline.
↥ back to top

Padding Properties

Sl.NoPropertyDescription
01.paddingSets the padding on all four sides of the element.
02.padding-bottomSets the padding to the bottom side of an element.
03.padding-leftSets the padding to the left side of an element.
04.padding-rightSets the padding to the right side of an element.
05.padding-topSets the padding to the top side of an element.
↥ back to top

Table Properties

Sl.NoPropertyDescription
01.border-collapseSpecifies whether table cell borders are connected or separated.
02.border-spacingSets the spacing between the borders of adjacent table cells.
03.caption-sideSpecify the position of table's caption.
04.empty-cellsShow or hide borders and backgrounds of empty table cells.
05.table-layoutSpecifies a table layout algorithm.
↥ back to top

Text Properties

Sl.NoPropertyDescription
01.directionDefine the text direction/writing direction.
02.tab-sizeSpecifies the length of the tab character.
03.text-alignSets the horizontal alignment of inline content.
04.text-align-lastSpecifies how the last line of a block or a line right before a forced line break is aligned when
05.text-decorationSpecifies the decoration added to text.
06.text-decoration-colorSpecifies the color of the text-decoration-line.
07.text-decoration-lineSpecifies what kind of line decorations are added to the element.
08.text-decoration-styleSpecifies the style of the lines specified by the text-decoration-line property
09.text-indentIndent the first line of text.
10.text-justifySpecifies the justification method to use when the text-align property is set to justify.
11.text-overflowSpecifies how the text content will be displayed, when it overflows the block containers.
12.text-shadowApplies one or more shadows to the text content of an element.
13.text-transformTransforms the case of the text.
14.line-heightSets the height between lines of text.
15.vertical-alignSets the vertical positioning of an element relative to the current text baseline.
16.letter-spacingSets the extra spacing between letters.
17.word-spacingSets the spacing between words.
18.white-spaceSpecifies how white space inside the element is handled.
19.word-breakSpecifies how to break lines within words.
20.overflow-wrapSpecifies whether the browser may break lines within words to prevent overflow.
21.writing-modeSpecifies whether lines of text are laid out horizontally or vertically.
22.text-underline-offsetSets the offset distance of an underline text decoration line from its original position.
23.text-emphasisA shorthand for text-emphasis-style and text-emphasis-color.
24.text-emphasis-colorSets the color of emphasis marks.
25.text-emphasis-positionSets where emphasis marks are drawn relative to the text.
26.text-emphasis-styleSets the appearance of emphasis marks on the text.
27.unicode-bidiSpecifies how the Unicode Bidirectional Algorithm should handle bidirectional text in the element.
28.text-renderingProvides information to the rendering engine about what to optimize for when rendering text.
↥ back to top

Transform Properties

Sl.NoPropertyDescription
01.backface-visibilitySpecifies whether or not the "back" side of a transformed element is visible when facing the user.
02.perspectiveDefines the perspective from which all child elements of the object are viewed.
03.perspective-originDefines the origin (the vanishing point for the 3D space) for the perspective property.
04.transformApplies a 2D or 3D transformation to an element.
05.transform-originDefines the origin of transformation for an element.
06.transform-styleSpecifies how nested elements are rendered in 3D space.
↥ back to top

Transitions Properties

Sl.NoPropertyDescription
01.transitionDefines the transition between two states of an element.
02.transition-delaySpecifies when the transition effect will start.
03.transition-durationSpecifies the number of seconds or milliseconds a transition effect should take to complete.
04.transition-propertySpecifies the names of the CSS properties to which a transition effect should be applied.
05.transition-timing-functionSpecifies the speed curve of the transition effect.
↥ back to top

Visual formatting Properties

Sl.NoPropertyDescription
01.displaySpecifies how an element is displayed onscreen.
02.positionSpecifies how an element is positioned.
03.topSpecify the location of the top edge of the positioned element.
04.rightSpecify the location of the right edge of the positioned element.
05.bottomSpecify the location of the bottom edge of the positioned element.
06.leftSpecify the location of the left edge of the positioned element.
07.floatSpecifies whether or not a box should float.
08.clearSpecifies the placement of an element in relation to floating elements.
09.z-indexSpecifies a layering or stacking order for positioned elements.
10.overflowSpecifies the treatment of content that overflows the element's box.
11.overflow-xSpecifies how to manage the content when it overflows the width of the element's content area.
12.overflow-ySpecifies how to manage the content when it overflows the height of the element's content area.
13.resizeSpecifies whether or not an element is resizable by the user.
14.visibilitySpecifies whether or not an element is visible.
15.cursorSpecify the type of cursor.
16.box-shadowApplies one or more drop-shadows to the element's box.
17.box-sizingAlter the default CSS box model.
18.appearanceControls the native appearance of an element based on the operating system theme.
19.containIndicates that an element and its contents are as independent as possible from the rest of the document.
20.isolationDefines whether an element must create a new stacking context.
21.mix-blend-modeSets how an element's content should blend with its parent's content and background.
22.object-fitSpecifies how a replaced element's content (image/video) is resized to fit its container.
23.object-positionSpecifies the alignment of the replaced element's content within its box.
24.pointer-eventsSpecifies under what circumstances an element can become the target of pointer events.
25.user-selectControls whether the user can select text within the element.
26.will-changeHints to the browser about what kind of changes to expect to allow optimization ahead of time.
↥ back to top

Grid Layout Properties

Sl.NoPropertyDescription
01.gridA shorthand for grid-template-rows, grid-template-columns, grid-template-areas, grid-auto-rows, grid-auto-columns and grid-auto-flow.
02.grid-areaSpecifies a grid item's size and location within a grid by contributing lines, spans or nothing.
03.grid-auto-columnsSets the size of implicitly created grid columns.
04.grid-auto-flowControls how auto-placed items are inserted in the grid (row, column, or dense packing).
05.grid-auto-rowsSets the size of implicitly created grid rows.
06.grid-columnA shorthand for grid-column-start and grid-column-end.
07.grid-column-endSpecifies where to end the grid item in the column direction.
08.grid-column-startSpecifies where to start the grid item in the column direction.
09.grid-rowA shorthand for grid-row-start and grid-row-end.
10.grid-row-endSpecifies where to end the grid item in the row direction.
11.grid-row-startSpecifies where to start the grid item in the row direction.
12.grid-templateA shorthand for grid-template-rows, grid-template-columns and grid-template-areas.
13.grid-template-areasSpecifies how to display columns and rows using named grid item areas.
14.grid-template-columnsDefines the line names and track sizing functions of the grid columns.
15.grid-template-rowsDefines the line names and track sizing functions of the grid rows.
↥ back to top

Filter Properties

Sl.NoPropertyDescription
01.filterApplies graphical effects like blur, brightness, contrast, or color shift to an element.
02.backdrop-filterApplies graphical effects to the area behind an element (requires the element to be at least partially transparent).
↥ back to top

Masking Properties

Sl.NoPropertyDescription
01.clip-pathSpecifies the clipping region using a basic shape, SVG source, or geometry box.
02.maskA shorthand property for all the mask-* properties.
03.mask-clipSpecifies the area which is affected by the mask image.
04.mask-compositeSpecifies the compositing operation used on the current mask layer with those below it.
05.mask-imageSpecifies an image to be used as a mask layer for an element.
06.mask-modeSpecifies whether the mask layer image is treated as a luminance or alpha mask.
07.mask-originSpecifies the origin position of the mask layer image.
08.mask-positionSets the starting position of a mask layer image within the mask positioning area.
09.mask-repeatSpecifies whether and how a mask image is repeated (tiled).
10.mask-sizeSpecifies the size of a mask layer image.
11.mask-typeSpecifies whether an SVG mask element is treated as a luminance or alpha mask.
↥ back to top

Scroll Properties

Sl.NoPropertyDescription
01.scroll-behaviorSpecifies the scrolling behavior for a scrolling box when triggered by navigation or CSSOM scrolling API.
02.scroll-marginA shorthand for all the scroll-margin longhands (top, right, bottom, left).
03.scroll-margin-bottomSets the scroll margin on the bottom of an element.
04.scroll-margin-leftSets the scroll margin on the left of an element.
05.scroll-margin-rightSets the scroll margin on the right of an element.
06.scroll-margin-topSets the scroll margin on the top of an element.
07.scroll-paddingA shorthand for all the scroll-padding longhands.
08.scroll-padding-bottomSets the scroll padding on the bottom of the scroll container.
09.scroll-padding-leftSets the scroll padding on the left of the scroll container.
10.scroll-padding-rightSets the scroll padding on the right of the scroll container.
11.scroll-padding-topSets the scroll padding on the top of the scroll container.
12.scroll-snap-alignSpecifies the box's snap position as an alignment of its snap area within its snap container.
13.scroll-snap-stopSpecifies whether the scroll container is allowed to pass over possible snap positions.
14.scroll-snap-typeSpecifies how strictly snap points are enforced on the scroll container.
15.overscroll-behaviorSpecifies what the browser does when reaching the boundary of a scrolling area.
16.overscroll-behavior-xSpecifies the overscroll behavior for the horizontal axis.
17.overscroll-behavior-ySpecifies the overscroll behavior for the vertical axis.
↥ back to top