You can use CSS vars
to create responsive layouts. One technique called css-media-vars
(repo) is a sort of mixin for CSS selectors that have the effect of named breakpoints analogous to a media query, but with much less boilerplate.
See also:
- Discussion on HN about whether this is using or abusing CSS vars
- Demo of the technique in an example web page