<?xml version="1.0" encoding="UTF-8"?>
<feature id="sibling-count"><name>sibling-count() and sibling-index()</name><description>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.</description><group>css</group><group_name>CSS</group_name><baseline><status>newly</status><low_date>2026-08-18</low_date></baseline><support><browser name="chrome" version="138" supported="true"></browser><browser name="firefox" version="154" supported="true"></browser><browser name="safari" version="26.2" supported="true"></browser><browser name="edge" version="138" supported="true"></browser><browser name="chrome_android" version="138" supported="true"></browser><browser name="firefox_android" version="154" supported="true"></browser><browser name="safari_ios" version="26.2" supported="true"></browser></support><specifications><spec>https://drafts.csswg.org/css-values-5/#tree-counting</spec></specifications><caniuse></caniuse><mdn_url>https://developer.mozilla.org/docs/Web/CSS/Reference/Values/sibling-count</mdn_url><compat_features><key>css.types.sibling-count</key><key>css.types.sibling-index</key></compat_features><canonical_url>https://nowyoucanuse.com/features--sibling-count.html</canonical_url></feature>