function
Font tech() — CSS reference
Tests support for a font technology such as OpenType variations. It does not prove a particular face has a variation axis. Keep the unconditioned declaration as a fallback.
Formal Syntax & Structure
css syntaxcss
@supports font-tech(variations) { #a { color: blue; } }Working Example
Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>font-tech()</title><style>body{margin:8px;font:16px/20px sans-serif;color:black;background:white}#a{color:green}@supports font-tech(variations){#a{color:blue}}</style><body><p id="a">Example text</p></body></html>