Css Property
Css Property
PROPERTY DESCRIPTION
A
accent-color Specifies an accent color for user-interface controls
Specifies the alignment between the lines inside a flexible container
align-content when the items do not use all available space
align-items Specifies the alignment for items inside a flexible container
align-self Specifies the alignment for selected items inside a flexible container
all Resets all properties (except unicode-bidi and direction)
animation A shorthand property for all the animation-* properties
animation-delay Specifies a delay for the start of an animation
animation-direction Specifies whether an animation should be played forwards,
backwards or in alternate cycles
animation-duration Specifies how long an animation should take to complete one cycle
Specifies a style for the element when the animation is not playing
animation-fill-mode (before it starts, after it ends, or both)
animation-iteration-count Specifies the number of times an animation should be played
animation-name Specifies a name for the @keyframes animation
animation-play-state Specifies whether the animation is running or paused
animation-timing-function Specifies the speed curve of an animation
aspect-ratio Specifies preferred aspect ratio of an element
B
backdrop-filter Defines a graphical effect to the area behind an element
backface-visibility Defines whether or not the back face of an element should be visible
when facing the user
background A shorthand property for all the background-* properties
background-attachment Sets whether a background image scrolls with the rest of the page, or is fixed
border-inline-color Sets the color of the borders at start and end in the inline direction
A shorthand property for border-inline-end-width and border-inline-
border-inline-end end-style and border-inline-end-color
border-inline-end-color Sets the color of the border at the end in the inline direction
border-inline-end-style Sets the style of the border at the end in the inline direction
border-inline-end-width Sets the width of the border at the end in the inline direction
A shorthand property for border-inline-start-width and border-inline-
border-inline-start? start-style and border-inline-start-color
border-inline-start-color? Sets the color of the border at the start in the inline direction
border-inline-start-style? Sets the style of the border at the start in the inline direction
border-inline-start-width? Sets the width of the border at the start in the inline direction
border-inline-style? Sets the style of the borders at start and end in the inline direction
border-inline-width? Sets the width of the borders at start and end in the inline
direction
border-left? A shorthand property for all the border-left-* properties
border-start-end-radius? Sets the radius of the corner between the block-start and
the inline-end sides of the element
border-start-start-radius? Sets the radius of the corner between the block-start and
the inline-start sides of the element
border-style? Sets the style of the four borders
border-top? A shorthand property for border-top-width, border-top-
style and border-top-color
border-top-color? Sets the color of the top border
border-top-left-radius? Defines the radius of the border of the top-left corner
C
caption-side? Specifies the placement of a table caption
caret-color? Specifies the color of the cursor (caret) in inputs, textareas,
or any element that is editable
clear? Specifies what should happen with the element that is next
to a floating element
@charset? Specifies the character encoding used in the style sheet
D
direction Specifies how a certain HTML element should be displayed
F
filter Defines effects (e.g. blurring or color shifting) on an
element before the element is displayed
flex? A shorthand property for the flex-grow, flex-shrink, and the
flex-basis properties
flex-basis? Specifies the initial length of a flexible item
flex-direction? Specifies the direction of the flexible items
flex-flow? A shorthand property for the flex-direction and the flex-
wrap properties
flex-grow? Specifies how much the item will grow relative to the rest
flex-shrink? Specifies how the item will shrink relative to the rest
G
gap A shorthand property for the row-gap and the column-gap
properties
grid A shorthand property for the grid-template-rows, grid- template-
columns, grid-template-areas, grid-auto-rows, grid-auto-columns, and
the grid-auto-flow properties
grid-area Either specifies a name for the grid item, or this property is a shorthand
property for the grid-row-start, grid-column- start, grid-row-end, and
grid-column-end properties
I
image-rendering? Specifies the type of algorithm to use for image scaling
@import? Allows you to import a style sheet into another style sheet
Specifies the distance between the start of an element and the parent
inset-block-start? element in the block direction
Specifies the distance between the start of an element and the parent
inset-inline-start? element in the inline direction
J
Specifies the alignment between the items inside a flexible container
justify-content when the items do not use all available space
K
@keyframes? Specifies the animation code
L
letter-spacing? Increases or decreases the space between characters in a
text
line-break? Specifies how/if to break lines
line-height? Sets the line height
list-style? Sets all the properties for a list in one declaration
list-style-image? Specifies an image as the list-item marker
list-style-position? Specifies the position of the list-item markers (bullet points)
O
Specifies how the contents of a replaced element should
object-fit be fitted to the box established by its used height and width
P
padding A shorthand property for all the padding-* properties
padding-block Specifies the padding in the block direction
padding-block-end Specifies the padding at the end in the block direction
padding-block-start Specifies the padding at the start in the block direction
padding-bottom Sets the bottom padding of an element
padding-inline Specifies the padding in the inline direction
padding-inline-end Specifies the padding at the end in the inline direction
padding-inline-start Specifies the padding at the start in the inline direction
padding-left Sets the left padding of an element
padding-right Sets the right padding of an element
padding-top Sets the top padding of an element
page-break-after Sets the page-break behavior after an element
page-break-before Sets the page-break behavior before an element
page-break-inside Sets the page-break behavior inside an element
paint-order Sets the order of how an SVG element or text is painted.
perspective Gives a 3D-positioned element some perspective
perspective-origin Defines at which position the user is looking at the 3D-
positioned element
place-content Specifies align-content and justify-content property values
for flexbox and grid layouts
place-items Specifies align-items and justify-items property values for
grid layouts
place-self Specifies align-self and justify-self property values for grid
layouts
pointer-events Defines whether or not an element reacts to pointer events
Q
quotes Sets the type of quotation marks for embedded quotations
R
resize Defines if (and how) an element is resizable by the user
right Specifies the right position of a positioned element
rotate Specifies the rotation of an element
row-gap Specifies the gap between the grid rows
S
scale Specifies the size of an element by scaling up or down
Specifies whether to smoothly animate the scroll position in a
scroll-behavior scrollable box, instead of a straight jump
scroll-margin Specifies the margin between the snap position and the
container
scroll-margin-block Specifies the margin between the snap position and the
container in the block direction
scroll-margin-block-end Specifies the end margin between the snap position and
the container in the block direction
scroll-margin-block-start Specifies the start margin between the snap position and
the container in the block direction
scroll-margin-bottom Specifies the margin between the snap position on the
bottom side and the container
scroll-margin-inline Specifies the margin between the snap position and the
container in the inline direction
scroll-margin-inline-end Specifies the end margin between the snap position and
the container in the inline direction
scroll-margin-inline-start Specifies the start margin between the snap position and
the container in the inline direction
scroll-margin-left Specifies the margin between the snap position on the left
side and the container
scroll-margin-right Specifies the margin between the snap position on the
right side and the container
scroll-margin-top Specifies the margin between the snap position on the top
side and the container
scroll-padding Specifies the distance from the container to the snap
position on the child elements
scroll-padding-block Specifies the distance in block direction from the container
to the snap position on the child elements
Specifies the distance in block direction from the end of the container
scroll-padding-block-end to the snap position on the child elements
Specifies the distance in block direction from the start of the container
scroll-padding-block-start to the snap position on the child elements
Specifies the distance in inline direction from the start of the container
scroll-padding-inline-start to the snap position on the child elements
scroll-padding-left Specifies the distance from the left side of the container to
the snap position on the child elements
scroll-padding-right Specifies the distance from the right side of the container
to the snap position on the child elements
scroll-padding-top Specifies the distance from the top of the container to the
snap position on the child elements
scroll-snap-align Specifies where to position elements when the user stops
scrolling
scroll-snap-stop Specifies scroll behaviour after fast swipe on trackpad or
touch screen
scroll-snap-type Specifies how snap behaviour should be when scrolling
scrollbar-color Specifies the color of the scrollbar of an element
T
tab-size Specifies the width of a tab character
table-layout Defines the algorithm used to lay out table cells, rows, and
columns
text-align Specifies the horizontal alignment of text
Describes how the last line of a block or a line right before a forced line
text-align-last break is aligned when text-align is "justify"
text-combine-upright Specifies the combination of multiple characters into the
space of a single character
text-decoration Specifies the decoration added to text
text-decoration-color Specifies the color of the text-decoration
text-decoration-line Specifies the type of line in a text-decoration
text-decoration-style Specifies the style of the line in a text decoration
text-decoration-thickness Specifies the thickness of the decoration line
text-emphasis A shorthand property for the text-emphasis-style and text-
emphasis-color properties
text-emphasis-color Specifies the color of emphasis marks
text-emphasis-position Specifies the position of emphasis marks
text-emphasis-style Specifies the style of emphasis marks
text-indent Specifies the indentation of the first line in a text-block
Used together with the direction property to set or return whether the
unicode-bidi text should be overridden to support multiple
languages in the same document
V
vertical-align Sets the vertical alignment of an element
visibility Specifies whether or not an element is visible
W
white-space Specifies how white-space inside an element is handled
widows Sets the minimum number of lines that must be left at the
top of a page or column
width Sets the width of an element
word-break Specifies how words should break when reaching the end
of a line
word-spacing Increases or decreases the space between words in a text
word-wrap Allows long, unbreakable words to be broken and wrap to
the next line
writing-mode Specifies whether lines of text are laid out horizontally or
vertically
Z
z-index Sets the stack order of a positioned element