DEV Community

Discussion on: How to use CSS Media Query Breakpoint in Styled-Components

larsejaas profile image
Lars Ejaas

Nobe, unfortunately you cannot use CSS variables to set the breakpoint for the media query. env() variables will fix this, but they aren't ready yet - not sure when they will be? But yeah, you can of course use the css variables inside the styling all you want.