CSS Properties

List of CSS Properties

Text and Fonts

  • color

  • font-family

  • font-size

  • font-weight

  • text-align

  • text-decoration

  • line-height

  • letter-spacing

  • text-transform

Layout

  • display

  • position

  • top, right, bottom, left

  • float

  • clear

  • z-index

  • overflow

  • flex related properties (flex-direction, flex-wrap, justify-content, align-items, flex-grow, flex-shrink, flex-basis)

  • grid related properties (grid-template-columns, grid-template-rows, grid-column, grid-row, grid-area, grid-gap)

Borders and Backgrounds

  • border

  • border-radius

  • background-color

  • background-image

  • background-position

  • background-size

  • background-repeat

Dimensions

  • width

  • height

  • max-width

  • max-height

  • min-width

  • min-height

  • margin

  • padding

Visual Effects

  • box-shadow

  • text-shadow

  • opacity

  • transition

  • transform

  • animation

Other Properties

  • cursor

  • visibility

  • clip

  • filter

This list includes many of the fundamental CSS properties, but given the expansive nature of CSS, there are many more properties and values, especially under advanced topics and specifications.

Last updated

Was this helpful?