{
  "meta": {
    "canonicalUrl": "https://timetostable.com/feature/function",
    "bcdVersion": "8.1.11",
    "webFeaturesVersion": "3.48.0"
  },
  "kind": "web-feature",
  "webFeature": {
    "id": "function",
    "name": "@function",
    "description": "The @function CSS at-rule defines a custom function that takes CSS values or custom properties as arguments, and returns a CSS value. It can be based on conditional logic such as by using the @media at-rule.",
    "group": "css",
    "groupName": "CSS",
    "spec": "https://drafts.csswg.org/css-mixins-1/#function-rule",
    "baseline": false,
    "compatCount": 12,
    "cats": [
      "api",
      "css"
    ],
    "compatKeysSample": [
      "api.CSSFunctionDeclarations",
      "api.CSSFunctionDeclarations.style",
      "api.CSSFunctionDescriptors",
      "api.CSSFunctionDescriptors.result",
      "api.CSSFunctionRule",
      "api.CSSFunctionRule.getParameters",
      "api.CSSFunctionRule.name",
      "api.CSSFunctionRule.returnType",
      "css.at-rules.function",
      "css.at-rules.function.result",
      "css.types.dashed-function",
      "css.types.type"
    ],
    "s": {
      "chrome": {
        "v": "139",
        "d": 20305
      },
      "chrome_android": {
        "v": "139",
        "d": 20305
      },
      "edge": {
        "v": "139",
        "d": 20307
      }
    }
  },
  "relatedBcdFeatures": [
    {
      "id": "api.CSSFunctionDeclarations",
      "cat": "api",
      "mdn": "API/CSSFunctionDeclarations",
      "spec": "https://drafts.csswg.org/css-mixins/#the-function-declarations-interface",
      "st": 1,
      "wf": "function",
      "bl": false,
      "s": {
        "chrome": {
          "v": "139",
          "d": 20305
        },
        "edge": {
          "v": "139",
          "d": 20307
        },
        "chrome_android": {
          "v": "139",
          "d": 20305
        },
        "webview_android": {
          "v": "139",
          "d": 20305
        },
        "samsunginternet_android": {
          "v": "30.0",
          "d": 20584
        },
        "opera": {
          "v": "123",
          "d": 20389
        },
        "opera_android": {
          "v": "91",
          "d": 20319
        },
        "oculus": {
          "v": "41.0",
          "d": 20382
        }
      }
    },
    {
      "id": "api.CSSFunctionDeclarations.style",
      "cat": "api",
      "mdn": "API/CSSFunctionDeclarations/style",
      "spec": "https://drafts.csswg.org/css-mixins/#dom-cssfunctiondeclarations-style",
      "st": 1,
      "wf": "function",
      "bl": false,
      "s": {
        "chrome": {
          "v": "139",
          "d": 20305
        },
        "edge": {
          "v": "139",
          "d": 20307
        },
        "chrome_android": {
          "v": "139",
          "d": 20305
        },
        "webview_android": {
          "v": "139",
          "d": 20305
        },
        "samsunginternet_android": {
          "v": "30.0",
          "d": 20584
        },
        "opera": {
          "v": "123",
          "d": 20389
        },
        "opera_android": {
          "v": "91",
          "d": 20319
        },
        "oculus": {
          "v": "41.0",
          "d": 20382
        }
      }
    },
    {
      "id": "api.CSSFunctionDescriptors",
      "cat": "api",
      "mdn": "API/CSSFunctionDescriptors",
      "spec": "https://drafts.csswg.org/css-mixins/#cssfunctiondescriptors",
      "st": 1,
      "wf": "function",
      "bl": false,
      "s": {
        "chrome": {
          "v": "139",
          "d": 20305
        },
        "edge": {
          "v": "139",
          "d": 20307
        },
        "chrome_android": {
          "v": "139",
          "d": 20305
        },
        "webview_android": {
          "v": "139",
          "d": 20305
        },
        "samsunginternet_android": {
          "v": "30.0",
          "d": 20584
        },
        "opera": {
          "v": "123",
          "d": 20389
        },
        "opera_android": {
          "v": "91",
          "d": 20319
        },
        "oculus": {
          "v": "41.0",
          "d": 20382
        }
      }
    },
    {
      "id": "api.CSSFunctionDescriptors.result",
      "cat": "api",
      "mdn": "API/CSSFunctionDescriptors/result",
      "spec": "https://drafts.csswg.org/css-mixins/#dom-cssfunctiondescriptors-result",
      "st": 1,
      "wf": "function",
      "bl": false,
      "s": {
        "chrome": {
          "v": "139",
          "d": 20305
        },
        "edge": {
          "v": "139",
          "d": 20307
        },
        "chrome_android": {
          "v": "139",
          "d": 20305
        },
        "webview_android": {
          "v": "139",
          "d": 20305
        },
        "samsunginternet_android": {
          "v": "30.0",
          "d": 20584
        },
        "opera": {
          "v": "123",
          "d": 20389
        },
        "opera_android": {
          "v": "91",
          "d": 20319
        },
        "oculus": {
          "v": "41.0",
          "d": 20382
        }
      }
    },
    {
      "id": "api.CSSFunctionRule",
      "cat": "api",
      "mdn": "API/CSSFunctionRule",
      "spec": "https://drafts.csswg.org/css-mixins/#the-function-interface",
      "st": 1,
      "wf": "function",
      "bl": false,
      "s": {
        "chrome": {
          "v": "139",
          "d": 20305
        },
        "edge": {
          "v": "139",
          "d": 20307
        },
        "chrome_android": {
          "v": "139",
          "d": 20305
        },
        "webview_android": {
          "v": "139",
          "d": 20305
        },
        "samsunginternet_android": {
          "v": "30.0",
          "d": 20584
        },
        "opera": {
          "v": "123",
          "d": 20389
        },
        "opera_android": {
          "v": "91",
          "d": 20319
        },
        "oculus": {
          "v": "41.0",
          "d": 20382
        }
      }
    },
    {
      "id": "api.CSSFunctionRule.getParameters",
      "cat": "api",
      "mdn": "API/CSSFunctionRule/getParameters",
      "spec": "https://drafts.csswg.org/css-mixins/#dom-cssfunctionrule-getparameters",
      "st": 1,
      "wf": "function",
      "bl": false,
      "s": {
        "chrome": {
          "v": "139",
          "d": 20305
        },
        "edge": {
          "v": "139",
          "d": 20307
        },
        "chrome_android": {
          "v": "139",
          "d": 20305
        },
        "webview_android": {
          "v": "139",
          "d": 20305
        },
        "samsunginternet_android": {
          "v": "30.0",
          "d": 20584
        },
        "opera": {
          "v": "123",
          "d": 20389
        },
        "opera_android": {
          "v": "91",
          "d": 20319
        },
        "oculus": {
          "v": "41.0",
          "d": 20382
        }
      }
    },
    {
      "id": "api.CSSFunctionRule.name",
      "cat": "api",
      "mdn": "API/CSSFunctionRule/name",
      "spec": "https://drafts.csswg.org/css-mixins/#dom-cssfunctionrule-name",
      "st": 1,
      "wf": "function",
      "bl": false,
      "s": {
        "chrome": {
          "v": "139",
          "d": 20305
        },
        "edge": {
          "v": "139",
          "d": 20307
        },
        "chrome_android": {
          "v": "139",
          "d": 20305
        },
        "webview_android": {
          "v": "139",
          "d": 20305
        },
        "samsunginternet_android": {
          "v": "30.0",
          "d": 20584
        },
        "opera": {
          "v": "123",
          "d": 20389
        },
        "opera_android": {
          "v": "91",
          "d": 20319
        },
        "oculus": {
          "v": "41.0",
          "d": 20382
        }
      }
    },
    {
      "id": "api.CSSFunctionRule.returnType",
      "cat": "api",
      "mdn": "API/CSSFunctionRule/returnType",
      "spec": "https://drafts.csswg.org/css-mixins/#dom-cssfunctionrule-returntype",
      "st": 1,
      "wf": "function",
      "bl": false,
      "s": {
        "chrome": {
          "v": "139",
          "d": 20305
        },
        "edge": {
          "v": "139",
          "d": 20307
        },
        "chrome_android": {
          "v": "139",
          "d": 20305
        },
        "webview_android": {
          "v": "139",
          "d": 20305
        },
        "samsunginternet_android": {
          "v": "30.0",
          "d": 20584
        },
        "opera": {
          "v": "123",
          "d": 20389
        },
        "opera_android": {
          "v": "91",
          "d": 20319
        },
        "oculus": {
          "v": "41.0",
          "d": 20382
        }
      }
    },
    {
      "id": "css.at-rules.function",
      "cat": "css",
      "mdn": "CSS/Reference/At-rules/@function",
      "spec": "https://drafts.csswg.org/css-mixins-1/#function-rule",
      "st": 1,
      "wf": "function",
      "bl": false,
      "s": {
        "chrome": {
          "v": "139",
          "d": 20305
        },
        "edge": {
          "v": "139",
          "d": 20307
        },
        "chrome_android": {
          "v": "139",
          "d": 20305
        },
        "webview_android": {
          "v": "139",
          "d": 20305
        },
        "samsunginternet_android": {
          "v": "30.0",
          "d": 20584
        },
        "opera": {
          "v": "123",
          "d": 20389
        },
        "opera_android": {
          "v": "91",
          "d": 20319
        },
        "oculus": {
          "v": "41.0",
          "d": 20382
        }
      }
    },
    {
      "id": "css.at-rules.function.result",
      "cat": "css",
      "spec": "https://drafts.csswg.org/css-mixins-1/#the-result-descriptor",
      "st": 1,
      "wf": "function",
      "bl": false,
      "s": {
        "chrome": {
          "v": "139",
          "d": 20305
        },
        "edge": {
          "v": "139",
          "d": 20307
        },
        "chrome_android": {
          "v": "139",
          "d": 20305
        },
        "webview_android": {
          "v": "139",
          "d": 20305
        },
        "samsunginternet_android": {
          "v": "30.0",
          "d": 20584
        },
        "opera": {
          "v": "123",
          "d": 20389
        },
        "opera_android": {
          "v": "91",
          "d": 20319
        },
        "oculus": {
          "v": "41.0",
          "d": 20382
        }
      }
    },
    {
      "id": "css.types.dashed-function",
      "cat": "css",
      "mdn": "CSS/Reference/Values/dashed-function",
      "spec": "https://drafts.csswg.org/css-mixins-1/#using-custom-functions",
      "st": 3,
      "wf": "function",
      "bl": false,
      "s": {
        "chrome": {
          "v": "139",
          "d": 20305
        },
        "edge": {
          "v": "139",
          "d": 20307
        },
        "chrome_android": {
          "v": "139",
          "d": 20305
        },
        "webview_android": {
          "v": "139",
          "d": 20305
        },
        "samsunginternet_android": {
          "v": "30.0",
          "d": 20584
        },
        "opera": {
          "v": "123",
          "d": 20389
        },
        "opera_android": {
          "v": "91",
          "d": 20319
        },
        "oculus": {
          "v": "41.0",
          "d": 20382
        }
      }
    },
    {
      "id": "css.types.type",
      "cat": "css",
      "mdn": "CSS/Reference/Values/type",
      "spec": "https://drafts.csswg.org/css-mixins-1/#funcdef-function-type",
      "st": 3,
      "wf": "function",
      "bl": false,
      "s": {
        "chrome": {
          "v": "139",
          "d": 20305
        },
        "edge": {
          "v": "139",
          "d": 20307
        },
        "chrome_android": {
          "v": "139",
          "d": 20305
        },
        "webview_android": {
          "v": "139",
          "d": 20305
        },
        "samsunginternet_android": {
          "v": "30.0",
          "d": 20584
        },
        "opera": {
          "v": "123",
          "d": 20389
        },
        "opera_android": {
          "v": "91",
          "d": 20319
        },
        "oculus": {
          "v": "41.0",
          "d": 20382
        }
      }
    }
  ]
}