---
id: "random-function"
kind: "web-feature"
canonical: "https://timetostable.com/feature/random-function"
baseline: "limited"
bcd_version: "8.1.11"
web_features_version: "3.48.0"
---

# random() (`random-function`)

The random() CSS function chooses a random numeric value within a specified range. This allows for dynamic, randomized styling using CSS.

- **Group**: CSS
- **Baseline**: Limited Availability
- **Specification**: https://drafts.csswg.org/css-values-5/#random
- **Constituent BCD keys**: 7

## Browser Support Timeline

| Browser | Version | Release Date |
| --- | --- | --- |
| Chrome | 156 | 2026-10-20 |
| Chrome Android | 156 | 2026-10-20 |
| Edge | 156 | 2026-10-22 |
| Firefox | 161 | 2026-11-24 |
| Firefox for Android | 161 | 2026-11-24 |

