---
id: "sibling-count"
kind: "web-feature"
canonical: "https://timetostable.com/feature/sibling-count"
baseline: "low"
bcd_version: "8.1.11"
web_features_version: "3.48.0"
---

# sibling-count() and sibling-index() (`sibling-count`)

The sibling-count() and sibling-index() CSS functions return integers that are useful to style elements based on their positions among siblings or on the number of siblings, for example as part of a calc() expression.

- **Group**: CSS
- **Baseline**: Newly Available
- **Newly Available Date**: 2026-08-18
- **Specification**: https://drafts.csswg.org/css-values-5/#tree-counting
- **Constituent BCD keys**: 2

## Browser Support Timeline

| Browser | Version | Release Date |
| --- | --- | --- |
| Chrome | 138 | 2025-06-24 |
| Chrome Android | 138 | 2025-06-24 |
| Edge | 138 | 2025-06-26 |
| Safari | 26.2 | 2025-12-12 |
| Safari on iOS | 26.2 | 2025-12-12 |
| Firefox | 154 | 2026-08-18 |
| Firefox for Android | 154 | 2026-08-18 |

