Skip to content

Syntax error - Invalid media query #218

@thnee

Description

@thnee

Apparently this is not valid CSS:

@media (not(hover)) { }

This gives parse error in W3C validator. And it gives parse error in Lightningcss, preventing it from being imported and used in practice.

Perhaps this would work instead:

@media (hover: none) { }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions