Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Arbitary values not working with pre-existing breakpoints #20476

Description

@RashiqAzhan

What version of Tailwind CSS are you using?

v4.3.3

What build tool (or framework if it abstracts the build tool) are you using?

Astro 7.2.6; tailwindcss/vite 4.3.3

What version of Node.js are you using?

For example: v26.5.1

What browser are you using?

Chrome

What operating system are you using?

Linux

Reproduction URL

https://play.tailwindcss.com/tFOJ5juY6L

Describe your issue

Custom breakpoints like min-[800px]:bg-blue-500 don't trigger with mixed with the standard breakpoints like md.

I have to use a media query that is between lg and md basically as a one-off. This media query never triggers. For the reproduction example, the box never turns blue even when it's greater than 800px.

Can I not use this? Maybe there is a better way?

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