# Custom property

*noun*

say it: **“KUS-tum PROP-er-tee”** **/ˈkʌstəm ˈprɒpərti/**

A value you name yourself in CSS, such as --brand-color, set once and read anywhere with var(). People also call it a CSS variable.

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

A **custom property** (a CSS variable) is a value you name once, starting with `--`, and reuse anywhere with `var()`. Change it in one place and everything using it updates.

```css
:root { --brand-color: #0a7c86; }
.button { background: var(--brand-color); }
.link { color: var(--brand-color); }
```

## In a sentence

- “I stored the shop's green in a **custom property** called --brand, so every button uses the same shade.”

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

Updated: November 9, 2026

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