{
  "meta": {
    "canonicalUrl": "https://timetostable.com/feature/sibling-count",
    "bcdVersion": "8.1.11",
    "webFeaturesVersion": "3.48.0"
  },
  "kind": "web-feature",
  "webFeature": {
    "id": "sibling-count",
    "name": "sibling-count() and sibling-index()",
    "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.",
    "group": "css",
    "groupName": "CSS",
    "spec": "https://drafts.csswg.org/css-values-5/#tree-counting",
    "baseline": "low",
    "baselineLowDate": "2026-08-18",
    "baselineLowDay": 20683,
    "compatCount": 2,
    "cats": [
      "css"
    ],
    "compatKeysSample": [
      "css.types.sibling-count",
      "css.types.sibling-index"
    ],
    "s": {
      "chrome": {
        "v": "138",
        "d": 20263
      },
      "chrome_android": {
        "v": "138",
        "d": 20263
      },
      "edge": {
        "v": "138",
        "d": 20265
      },
      "firefox": {
        "v": "154",
        "d": 20683
      },
      "firefox_android": {
        "v": "154",
        "d": 20683
      },
      "safari": {
        "v": "26.2",
        "d": 20434
      },
      "safari_ios": {
        "v": "26.2",
        "d": 20434
      }
    }
  },
  "relatedBcdFeatures": [
    {
      "id": "css.types.sibling-count",
      "cat": "css",
      "mdn": "CSS/Reference/Values/sibling-count",
      "spec": "https://drafts.csswg.org/css-values-5/#funcdef-sibling-count",
      "st": 1,
      "wf": "sibling-count",
      "bl": "low",
      "bld": 20683,
      "s": {
        "chrome": {
          "v": "138",
          "d": 20263
        },
        "firefox": {
          "v": "154",
          "d": 20683
        },
        "safari": {
          "v": "26.2",
          "d": 20434
        },
        "edge": {
          "v": "138",
          "d": 20265
        },
        "chrome_android": {
          "v": "138",
          "d": 20263
        },
        "firefox_android": {
          "v": "154",
          "d": 20683
        },
        "safari_ios": {
          "v": "26.2",
          "d": 20434
        },
        "webview_android": {
          "v": "138",
          "d": 20263
        },
        "webview_ios": {
          "v": "26.2",
          "d": 20434
        },
        "samsunginternet_android": {
          "v": "30.0",
          "d": 20584
        },
        "opera": {
          "v": "122",
          "d": 20342
        },
        "opera_android": {
          "v": "91",
          "d": 20319
        },
        "oculus": {
          "v": "40.0",
          "d": 20307
        }
      }
    },
    {
      "id": "css.types.sibling-index",
      "cat": "css",
      "mdn": "CSS/Reference/Values/sibling-index",
      "spec": "https://drafts.csswg.org/css-values-5/#funcdef-sibling-index",
      "st": 1,
      "wf": "sibling-count",
      "bl": "low",
      "bld": 20683,
      "s": {
        "chrome": {
          "v": "138",
          "d": 20263
        },
        "firefox": {
          "v": "154",
          "d": 20683
        },
        "safari": {
          "v": "26.2",
          "d": 20434
        },
        "edge": {
          "v": "138",
          "d": 20265
        },
        "chrome_android": {
          "v": "138",
          "d": 20263
        },
        "firefox_android": {
          "v": "154",
          "d": 20683
        },
        "safari_ios": {
          "v": "26.2",
          "d": 20434
        },
        "webview_android": {
          "v": "138",
          "d": 20263
        },
        "webview_ios": {
          "v": "26.2",
          "d": 20434
        },
        "samsunginternet_android": {
          "v": "30.0",
          "d": 20584
        },
        "opera": {
          "v": "122",
          "d": 20342
        },
        "opera_android": {
          "v": "91",
          "d": 20319
        },
        "oculus": {
          "v": "40.0",
          "d": 20307
        }
      }
    }
  ]
}