Skip to content

CSS container queries throw errors #317

@helgatheviking

Description

@helgatheviking

I am trying to add a container query to my stylesheet

@container (min-width: 320px) {
  #test {
    background: pink; } }

And I get unexpected and invalid character/property errors

Unexpected '}' at assets/css/frontend/style.css:36:24.,Invalid character(s) '}
' at assets/css/frontend/style.css:36:24. Ignoring.,Invalid property name '# {
background' at assets/css/frontend/style.css.css:35:2. Ignoring.
4 files created. 5.6 kB → 4.38 kB

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions