# Value

What you set a property to, like red or 16px.

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

A **value** is what you set a property to: a color, a size, a keyword and so on.

```css
.alert {
  color: red;      /* red is the value */
  padding: 12px;   /* 12px is the value */
}
```

Level: Novice · [More CSS terms at this level](https://www.ask-codey.com/glossary/subjects/css/novice)

Updated: September 27, 2026

Source: https://www.ask-codey.com/glossary/value
