Skip to content

Switch to the range syntax #61

Description

@Ayc0

instead of using @media (min-width: …) and @media (max-width: …), we should use @media (… <= width < …): At the moment, the breakpoints are from 0 to 575 for xs, then from 576 to 767 for sm etc. This means that all sub-pixels between 575px and 576px aren't tracked.

But we need this syntax to be more used (at least 95%):

https://caniuse.com/css-media-range-syntax

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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