Skip to content

[css-fonts-4] [varfont] Feature queries? #1274

Closed
@davelab6

Description

@davelab6

Should we have a feature query for variable fonts?

(reference https://hacks.mozilla.org/2016/08/using-feature-queries-in-css/)

@supports (font-variation-settings: "opsz" 14) {
   // code that will only run if variable fonts are supported by the browser 
 }

Pondering:

@supports (font-variation-settings: "XOPQ" 14) {
   // what happens here? :) 
 }

This idea came from a chat with @jensimmons at the www.snd.org conference :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions