Skip to content

Files

Latest commit

 

History

History
31 lines (19 loc) · 608 Bytes

function-no-unknown.md

File metadata and controls

31 lines (19 loc) · 608 Bytes

Pattern: Use of unknown function

Issue: -

Description

Considers functions defined in the CSS Specifications to be known.

This rule ignores double-dashed custom functions, e.g. --custom-function().

Examples

The following patterns are considered violations:

a { transform: unknown(1); }

The following patterns are not considered violations:

a { transform: scale(1); }
a { transform: --custom-function(1); }

Further Reading