# Property

*noun*

say it: **“PROP-er-tee”** **/ˈprɑpərti/**

The part of a CSS declaration that names what you want to change, such as color, font-size or margin. It comes before the colon.

## What is a **property** in CSS?

A **property** is the thing you want to change, like `color`, `width` or `margin`.

```css
.title {
  color: purple;       /* color is the property */
  text-align: center;  /* text-align is the property */
}
```

## In a sentence

- “The **property** I needed to make the playlist titles bigger was font-size.”
- “I typed the **property** name as colr, and the browser skipped that line without any error.”
- “I changed the **property** from color to background-color, and the whole button turned orange instead of only its text.”

Level: Novice · [More CSS terms at this level](https://www.ask-codey.com/glossary?category=css&level=1)

Updated: November 9, 2026

## In other subjects

- [Property in C#](https://www.ask-codey.com/glossary/property)
- [Property in JavaScript](https://www.ask-codey.com/glossary/property-javascript)
- [Property in OOP](https://www.ask-codey.com/glossary/property-oop)

Source: https://www.ask-codey.com/glossary/property-css-2
