Media query mixins that take a breakpoint name or a length.
Generated from the doc blocks in the core source when the site is built, so it always matches the current release of @wovenui/core. Every example is compiled against core during the build; open Compiled CSSunder an example to see its output. Guide: Media queries. The A to Z index lists every public mixin and function.
Applies styles only between the given breakpoint and the next larger one (minus 0.02px); the largest breakpoint has no upper limit.
@mixinmedia-only($breakpoint)
Parameter
Type
Default
Description
$breakpoint
String|Number
Required
Breakpoint name from $breakpoints (2xl may be unquoted) or a length in the breakpoint unit (px by default), such as 800px; a length in another unit raises an error