CSS Properties Lists

1. Box Model & Dimensions (The Foundation)

  1. width

  2. height

  3. min-width

  4. max-width

  5. min-height

  6. max-height

  7. aspect-ratio

  8. box-sizing

  9. margin

  10. margin-top

  11. margin-right

  12. margin-bottom

  13. margin-left

  14. margin-block

  15. margin-block-start

  16. margin-block-end

  17. margin-inline

  18. margin-inline-start

  19. margin-inline-end

  20. padding

  21. padding-top

  22. padding-right

  23. padding-bottom

  24. padding-left

  25. padding-block

  26. padding-block-start

  27. padding-block-end

  28. padding-inline

  29. padding-inline-start

  30. padding-inline-end

2. Detailed Borders & Outlines

  1. border

  2. border-top

  3. border-right

  4. border-bottom

  5. border-left

  6. border-width

  7. border-top-width

  8. border-right-width

  9. border-bottom-width

  10. border-left-width

  11. border-style

  12. border-top-style

  13. border-right-style

  14. border-bottom-style

  15. border-left-style

  16. border-color

  17. border-top-color

  18. border-right-color

  19. border-bottom-color

  20. border-left-color

  21. border-radius

  22. border-top-left-radius

  23. border-top-right-radius

  24. border-bottom-right-radius

  25. border-bottom-left-radius

  26. border-start-start-radius

  27. border-start-end-radius

  28. border-end-start-radius

  29. border-end-end-radius

  30. border-image

  31. border-image-source

  32. border-image-slice

  33. border-image-width

  34. border-image-outset

  35. border-image-repeat

  36. border-block

  37. border-block-color

  38. border-block-style

  39. border-block-width

  40. border-inline

  41. border-inline-color

  42. border-inline-style

  43. border-inline-width

  44. outline

  45. outline-width

  46. outline-style

  47. outline-color

  48. outline-offset

3. Visuals, Backgrounds & Masking

  1. background

  2. background-color

  3. background-image

  4. background-repeat

  5. background-attachment

  6. background-position

  7. background-position-x

  8. background-position-y

  9. background-clip

  10. background-origin

  11. background-size

  12. background-blend-mode

  13. box-shadow

  14. opacity

  15. visibility

  16. mix-blend-mode

  17. isolation

  18. filter

  19. backdrop-filter

  20. mask

  21. mask-image

  22. mask-mode

  23. mask-repeat

  24. mask-position

  25. mask-clip

  26. mask-origin

  27. mask-size

  28. mask-composite

  29. mask-type

  30. clip-path

  31. clip-rule

4. Flexbox (Detailed)

  1. display

  2. flex

  3. flex-basis

  4. flex-direction

  5. flex-flow

  6. flex-grow

  7. flex-shrink

  8. flex-wrap

  9. justify-content

  10. justify-items

  11. justify-self

  12. align-content

  13. align-items

  14. align-self

  15. order

  16. gap

  17. row-gap

  18. column-gap

5. Grid Layout (Detailed)

  1. grid

  2. grid-area

  3. grid-auto-columns

  4. grid-auto-flow

  5. grid-auto-rows

  6. grid-column

  7. grid-column-end

  8. grid-column-start

  9. grid-row

  10. grid-row-end

  11. grid-row-start

  12. grid-template

  13. grid-template-areas

  14. grid-template-columns

  15. grid-template-rows

6. Typography & Text (Every variant)

  1. color

  2. font

  3. font-family

  4. font-size

  5. font-weight

  6. font-style

  7. font-variant

  8. font-stretch

  9. line-height

  10. font-size-adjust

  11. font-synthesis

  12. font-kerning

  13. font-variant-caps

  14. font-variant-numeric

  15. font-variant-ligatures

  16. font-variant-alternates

  17. font-variant-east-asian

  18. font-variant-position

  19. font-feature-settings

  20. font-variation-settings

  21. font-optical-sizing

  22. font-palette

  23. text-align

  24. text-align-last

  25. text-decoration

  26. text-decoration-line

  27. text-decoration-style

  28. text-decoration-color

  29. text-decoration-thickness

  30. text-underline-offset

  31. text-underline-position

  32. text-indent

  33. text-transform

  34. text-shadow

  35. text-overflow

  36. text-rendering

  37. text-orientation

  38. text-combine-upright

  39. text-justify

  40. text-emphasis

  41. text-emphasis-color

  42. text-emphasis-style

  43. text-emphasis-position

  44. letter-spacing

  45. word-spacing

  46. white-space

  47. word-break

  48. word-wrap

  49. overflow-wrap

  50. hyphens

  51. line-break

  52. writing-mode

  53. direction

  54. unicode-bidi

7. Positioning & Stacking

  1. position

  2. top

  3. right

  4. bottom

  5. left

  6. inset

  7. inset-block

  8. inset-inline

  9. z-index

  10. float

  11. clear

  12. object-fit

  13. object-position

  14. vertical-align

8. Transitions & Animations

  1. transition

  2. transition-property

  3. transition-duration

  4. transition-timing-function

  5. transition-delay

  6. transition-behavior

  7. animation

  8. animation-name

  9. animation-duration

  10. animation-timing-function

  11. animation-delay

  12. animation-iteration-count

  13. animation-direction

  14. animation-fill-mode

  15. animation-play-state

  16. animation-composition

  17. animation-timeline

  18. animation-range

  19. animation-range-start

  20. animation-range-end

9. Transforms & 3D

  1. transform

  2. transform-origin

  3. transform-style

  4. perspective

  5. perspective-origin

  6. backface-visibility

  7. rotate

  8. scale

  9. translate

10. Scroll & Interactivity

  1. scroll-behavior

  2. scroll-margin

  3. scroll-padding

  4. scroll-snap-type

  5. scroll-snap-align

  6. scroll-snap-stop

  7. scrollbar-width

  8. scrollbar-color

  9. scrollbar-gutter

  10. overscroll-behavior

  11. touch-action

  12. pointer-events

  13. cursor

  14. user-select

  15. user-zoom

  16. caret-color

  17. accent-color

  18. resize

11. Multi-Column Layout

  1. columns

  2. column-count

  3. column-width

  4. column-fill

  5. column-rule

  6. column-rule-width

  7. column-rule-style

  8. column-rule-color

  9. column-span

12. SVG Specific Properties

(These are valid CSS properties used to style SVG elements)

267. fill

268. fill-opacity

269. fill-rule

270. stroke

271. stroke-width

272. stroke-linecap

273. stroke-linejoin

274. stroke-dasharray

275. stroke-dashoffset

276. stroke-opacity

277. stroke-miterlimit

278. marker

279. marker-start

280. marker-mid

281. marker-end

282. stop-color

283. stop-opacity

284. flood-color

285. flood-opacity

286. lighting-color

287. shape-rendering

288. color-interpolation

289. dominant-baseline

290. alignment-baseline

13. Modern Drafts & New Features (2024–2026)

  1. container

  2. container-type

  3. container-name

  4. view-transition-name

  5. view-timeline

  6. view-timeline-name

  7. view-timeline-axis

  8. scroll-timeline

  9. scroll-timeline-name

  10. scroll-timeline-axis

  11. anchor-name

  12. position-anchor

  13. position-area

  14. position-try

  15. position-try-options

  16. position-try-order

  17. overlay

Technical Note: Because there are actually over 500 properties when including all the logical variants (like margin-block-start-inline-end) and obsolete properties (like clip), I have summarized the remaining 200+ by their Logical and Printing groups below.

14. Logical Variants (Approx 150 properties)

For every physical property like border-top-left-radius, there is now a logical property like border-start-start-radius.

  • There are 48 variations for border alone.

  • There are 24 variations for margin/padding.

  • There are 12 variations for inset.

15. Paged Media (Printing)

  • break-after

  • break-before

  • break-inside

  • orphans

  • widows

  • page-break-after

  • page-break-before

  • page-break-inside

To get to a "raw 500" list, you would essentially list every single logical permutation of the box model.

Modern CSS (as of 2026) has evolved from a simple styling language into a powerful interface engine. We can now handle logic, complex positioning, and even auto-sizing without a single line of JavaScript.

Here are the most significant "Newest" CSS properties that have reached the 500+ mark in the global specification, along with demonstrations.

1. Anchor Positioning (anchor-name, position-anchor)

This is a game-changer for tooltips and dropdowns. You can "tether" an element to another without worrying about parent containers or overflow.

/* 1. Define the anchor */
.anchor-btn {
  anchor-name: --my-tooltip;
}

/* 2. Tether the target */
.tooltip {
  position: fixed;
  position-anchor: --my-tooltip;
  
  /* Place it exactly above the button */
  position-area: top center;
  
  /* Flip it if it hits the top of the screen */
  position-try: flip-block; 
}

2. Dynamic Auto-Sizing (field-sizing)

No more using JavaScript to make a <textarea> grow as the user types. This property does it natively.

textarea, input {
  field-sizing: content;
  min-width: 100px;
  max-width: 100%;
}

What it does: The element "shrink-wraps" its content. As you type, the box expands horizontally or vertically to fit the text exactly.

3. Native Masonry Layout (masonry-auto-flow)

Previously, Pinterest-style layouts required heavy libraries like Masonry.js. Now, it’s built directly into the CSS Grid.

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  
  /* The magic line */
  masonry-auto-flow: column; 
  gap: 10px;
}

4. Conditional Logic (if())

Yes, CSS finally has "if statements." This is part of the 2025-2026 specs for handling variations without toggling classes in JS.

CSS

.button {
  /* Set color based on a condition */
  background: if(media(min-width: 800px): blue; else: red);
  
  /* Or based on a style query */
  color: if(style(--theme: dark): white; else: black);
}

5. Scroll State Queries (@container scroll-state)

You can now style an element based on whether it is currently "stuck" (sticky), "snapped," or even "scrollable."

CSS

header {
  position: sticky;
  top: 0;
  container-type: scroll-state;
}

/* Change style only when the header is stuck to the top */
@container scroll-state(stuck: top) {
  header {
    background: rgba(0, 0, 0, 0.8);
    box-shadow: 0 4px 10px black;
    padding-block: 10px;
  }
}

6. Sibling Counting (sibling-index())

This allows for easy staggered animations without hardcoding nth-child(1), nth-child(2), etc.

li {
  opacity: 0;
  animation: fadeIn 0.5s forwards;
  
  /* Stagger delay automatically based on its position in the list */
  animation-delay: calc(sibling-index() * 100ms);
}

7. Precise Typography (text-box-trim)

This removes the "magic whitespace" (half-leading) above and below text, allowing for pixel-perfect alignment with icons or borders.

CSS

h1 {
  /* Trims the top of the 'cap height' and the bottom of the 'alphabetic baseline' */
  text-box: trim-both cap alphabetic;
}

Why the list is now 500+

In 2026, the list has ballooned because of Logical Properties. For almost every "Physical" property, there is now a "Logical" one for internationalization:

  • Physical: margin-top, padding-left, border-right.

  • Logical: margin-block-start, padding-inline-start, border-inline-end.

When you count all the longhands for backgrounds, masks, borders, and logical variants, the property registry is massive.

 

Code

On This Section, I write the full-syntax of each and every Properties which I mentioned in above Section.

1. Box Model & Dimensions (Physical)

  1. width

  2. height

  3. min-width

  4. max-width

  5. min-height

  6. max-height

  7. margin

  8. margin-top

  9. margin-right

  10. margin-bottom

  11. margin-left

  12. padding

  13. padding-top

  14. padding-right

  15. padding-bottom

  16. padding-left

  17. aspect-ratio

  18. box-sizing

2. Box Model (Logical equivalents)

  1. inline-size

  2. block-size

  3. min-inline-size

  4. max-inline-size

  5. min-block-size

  6. max-block-size

  7. margin-inline

  8. margin-inline-start

  9. margin-inline-end

  10. margin-block

  11. margin-block-start

  12. margin-block-end

  13. padding-inline

  14. padding-inline-start

  15. padding-inline-end

  16. padding-block

  17. padding-block-start

  18. padding-block-end

3. Positioning & Insets

  1. position

  2. top

  3. right

  4. bottom

  5. left

  6. inset

  7. inset-block

  8. inset-block-start

  9. inset-block-end

  10. inset-inline

  11. inset-inline-start

  12. inset-inline-end

  13. z-index

  14. float

  15. clear

  16. vertical-align

4. Flexbox Layout

  1. display

  2. flex

  3. flex-basis

  4. flex-direction

  5. flex-flow

  6. flex-grow

  7. flex-shrink

  8. flex-wrap

  9. justify-content

  10. justify-items

  11. justify-self

  12. align-content

  13. align-items

  14. align-self

  15. order

  16. gap

  17. row-gap

  18. column-gap

5. Grid Layout

  1. grid

  2. grid-area

  3. grid-auto-columns

  4. grid-auto-flow

  5. grid-auto-rows

  6. grid-column

  7. grid-column-end

  8. grid-column-start

  9. grid-row

  10. grid-row-end

  11. grid-row-start

  12. grid-template

  13. grid-template-areas

  14. grid-template-columns

  15. grid-template-rows

  16. masonry-auto-flow (Experimental 2026)

6. Borders (Every Variant)

  1. border

  2. border-top

  3. border-right

  4. border-bottom

  5. border-left

  6. border-width

  7. border-top-width

  8. border-right-width

  9. border-bottom-width

  10. border-left-width

  11. border-style

  12. border-top-style

  13. border-right-style

  14. border-bottom-style

  15. border-left-style

  16. border-color

  17. border-top-color

  18. border-right-color

  19. border-bottom-color

  20. border-left-color

  21. border-radius

  22. border-top-left-radius

  23. border-top-right-radius

  24. border-bottom-right-radius

  25. border-bottom-left-radius

  26. border-start-start-radius

  27. border-start-end-radius

  28. border-end-start-radius

  29. border-end-end-radius

  30. border-image

  31. border-image-source

  32. border-image-slice

  33. border-image-width

  34. border-image-outset

  35. border-image-repeat

  36. border-block

  37. border-block-color

  38. border-block-style

  39. border-block-width

  40. border-inline

  41. border-inline-color

  42. border-inline-style

  43. border-inline-width

  44. border-collapse

  45. border-spacing

7. Typography (Text & Fonts)

  1. color

  2. font

  3. font-family

  4. font-size

  5. font-weight

  6. font-style

  7. font-variant

  8. font-stretch

  9. line-height

  10. font-size-adjust

  11. font-synthesis

  12. font-kerning

  13. font-variant-caps

  14. font-variant-numeric

  15. font-variant-ligatures

  16. font-variant-alternates

  17. font-variant-east-asian

  18. font-variant-position

  19. font-feature-settings

  20. font-variation-settings

  21. font-optical-sizing

  22. font-palette

  23. text-align

  24. text-align-last

  25. text-decoration

  26. text-decoration-line

  27. text-decoration-style

  28. text-decoration-color

  29. text-decoration-thickness

  30. text-underline-offset

  31. text-underline-position

  32. text-indent

  33. text-transform

  34. text-shadow

  35. text-overflow

  36. text-rendering

  37. text-orientation

  38. text-combine-upright

  39. text-justify

  40. text-emphasis

  41. text-emphasis-color

  42. text-emphasis-style

  43. text-emphasis-position

  44. text-wrap

  45. text-wrap-mode

  46. text-wrap-style

  47. letter-spacing

  48. word-spacing

  49. white-space

  50. white-space-collapse

  51. word-break

  52. word-wrap

  53. overflow-wrap

  54. hyphens

  55. hyphenate-character

  56. line-break

  57. writing-mode

  58. direction

  59. unicode-bidi

  60. tab-size

  61. hanging-punctuation

8. Backgrounds & Images

  1. background

  2. background-color

  3. background-image

  4. background-repeat

  5. background-attachment

  6. background-position

  7. background-position-x

  8. background-position-y

  9. background-clip

  10. background-origin

  11. background-size

  12. background-blend-mode

  13. object-fit

  14. object-position

  15. object-view-box

  16. image-orientation

  17. image-rendering

  18. image-resolution

9. Transitions, Animations & Scroll

  1. transition

  2. transition-property

  3. transition-duration

  4. transition-timing-function

  5. transition-delay

  6. transition-behavior

  7. animation

  8. animation-name

  9. animation-duration

  10. animation-timing-function

  11. animation-delay

  12. animation-iteration-count

  13. animation-direction

  14. animation-fill-mode

  15. animation-play-state

  16. animation-composition

  17. animation-timeline

  18. animation-range

  19. animation-range-start

  20. animation-range-end

  21. scroll-timeline

  22. scroll-timeline-name

  23. scroll-timeline-axis

  24. view-timeline

  25. view-timeline-name

  26. view-timeline-axis

  27. scroll-behavior

  28. scroll-margin

  29. scroll-padding

  30. scroll-snap-type

  31. scroll-snap-align

  32. scroll-snap-stop

  33. scrollbar-width

  34. scrollbar-color

  35. scrollbar-gutter

  36. overscroll-behavior

  37. overscroll-behavior-block

  38. overscroll-behavior-inline

10. Transforms & 3D

  1. transform

  2. transform-origin

  3. transform-style

  4. perspective

  5. perspective-origin

  6. backface-visibility

  7. rotate

  8. scale

  9. translate

11. Masking, Clipping & Effects

  1. opacity

  2. visibility

  3. mix-blend-mode

  4. isolation

  5. filter

  6. backdrop-filter

  7. clip

  8. clip-path

  9. clip-rule

  10. mask

  11. mask-image

  12. mask-mode

  13. mask-repeat

  14. mask-position

  15. mask-clip

  16. mask-origin

  17. mask-size

  18. mask-composite

  19. mask-type

  20. box-shadow

12. Interactivity & UI

  1. appearance

  2. cursor

  3. caret-color

  4. caret-shape

  5. caret-animation

  6. accent-color

  7. color-scheme

  8. pointer-events

  9. touch-action

  10. user-select

  11. user-zoom

  12. resize

  13. outline

  14. outline-width

  15. outline-style

  16. outline-color

  17. outline-offset

  18. field-sizing (Auto-expanding textareas)

13. Multi-Column & Tables

  1. columns

  2. column-count

  3. column-width

  4. column-fill

  5. column-rule

  6. column-rule-width

  7. column-rule-style

  8. column-rule-color

  9. column-span

  10. table-layout

  11. caption-side

  12. empty-cells

14. Modern Containers & Anchor Positioning

  1. container

  2. container-type

  3. container-name

  4. anchor-name

  5. position-anchor

  6. position-area

  7. position-try

  8. position-try-options

  9. position-try-order

  10. overlay

15. SVG-Specific Properties (Valid in CSS)

  1. fill

  2. fill-opacity

  3. fill-rule

  4. stroke

  5. stroke-width

  6. stroke-linecap

  7. stroke-linejoin

  8. stroke-dasharray

  9. stroke-dashoffset

  10. stroke-opacity

  11. stroke-miterlimit

  12. marker

  13. marker-start

  14. marker-mid

  15. marker-end

  16. stop-color

  17. stop-opacity

  18. flood-color

  19. flood-opacity

  20. lighting-color

  21. shape-rendering

  22. color-interpolation

  23. dominant-baseline

  24. alignment-baseline

  25. vector-effect

16. Paged Media (Printing)

  1. break-after

  2. break-before

  3. break-inside

  4. orphans

  5. widows

  6. page-break-after

  7. page-break-before

  8. page-break-inside

  9. page

  10. size

17. The Remaining 150+ (Specific Logical Longhands)

To reach the 500+ mark, you include every single logical equivalent for borders.

  • Border Color Logical: border-block-start-color, border-block-end-color, border-inline-start-color, border-inline-end-color. (4 properties)

  • Border Style Logical: border-block-start-style, border-block-end-style, border-inline-start-style, border-inline-end-style. (4 properties)

  • Border Width Logical: border-block-start-width, border-block-end-width, border-inline-start-width, border-inline-end-width. (4 properties)

  • Repeated for: margin, padding, inset, max-width, min-width, and border-radius.

By the time you list every direction (top, bottom, left, right, block-start, block-end, inline-start, inline-end) for every box-model property, the total count exceeds 550 individual properties.

1. State-Aware Queries (@container scroll-state)

This is the single biggest addition in 2026. It allows an element to style itself based on its real-time scroll position or behavior.

  • stuck: Detects if a position: sticky element is currently pinned.

  • snapped: Detects if an item is the current active item in a scroll-snap container.

  • scrollable: Detects if a container has enough content to actually scroll.

Demonstration:

/* Styling a header ONLY when it sticks to the top */
@container scroll-state(stuck: top) {
  .nav-bar {
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: 60px; /* Shrink on scroll */
  }
}

2. Sibling Counting Functions

These properties allow you to style elements based on their position or the total count of siblings without using hardcoded :nth-child rules.

  • sibling-index(): Returns the number (1, 2, 3...) of the element.

  • sibling-count(): Returns the total number of siblings in that parent.

Demonstration (Auto-staggered Animation):

li {
  /* Every list item delays itself by 0.1s times its index */
  transition-delay: calc(sibling-index() * 0.1s);
}

3. Native Carousels & Scroll Markers

CSS has finally introduced "pseudo-elements" specifically for carousels, removing the need for 3rd-party slider libraries.

  • ::scroll-marker: Automatically generates a pagination dot for every scroll item.

  • ::scroll-button(direction): Generates "Next" and "Prev" buttons that control the scroll container.

  • scroll-target-group: Groups markers together for styling.

Demonstration:

.carousel {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

/* Create the pagination dots automatically */
.carousel::scroll-marker-group {
  display: flex;
  justify-content: center;
  gap: 10px;
}

4. Advanced Visuals: Shapes & Trimming

  • corner-shape: Allows for "beveled" or "scooped" corners instead of just rounded ones.

  • text-box-trim: Trims the leading (vertical whitespace) above and below text for pixel-perfect alignment.

  • margin-trim: Automatically removes the margin of the last child in a container so it doesn't push the container's edge.

Demonstration (Beveled Corners):

.button {
  border-radius: 20px;
  corner-shape: bevel; /* Instead of rounded, it's a flat diagonal cut */
}

5. Conditional Functional Logic (if())

This is the "Logic" property. It allows you to check a condition (like a media query or a variable value) inside a single property line.

Demonstration:

.card {
  /* Set color to blue if screen is wide, otherwise red */
  background: if(media(min-width: 1000px): blue; else: red);
  
  /* Use a custom variable to toggle styles */
  padding: if(style(--size: big): 40px; else: 10px);
}

6. The "Complete" Property Count (Why it’s 500+)

To understand how we reach 520+ properties, you have to look at the Longhands of Logical Properties that were finalized in late 2025.

For every single "Physical" property you knew, there are now 8 logical variants to handle different writing modes (like Arabic or Japanese).

Physical Property Total Longhands Logical Equivalents
Margin 5 margin-block-start, margin-block-end, margin-inline-start, margin-inline-end...
Padding 5 padding-block-start, padding-block-end...
Border 20+ border-start-start-radius, border-end-inline-color...
Sizing 6 block-size, inline-size, min-block-size...
Inset 5 inset-block, inset-inline...
Select Chapter