Device-min-width query is not supported in Media query

Which device are you testing on?

What does your media query look like?

Do you have the viewport meta tag in place?

You shouldn’t be detecting devices anyway as that is a flawed approach.

We need to see an example of where you say it doesn’t work.