Preset Aspect Media Query
UnoCSS preset for aspect ratio media queries.
Installation
Since our @manyone packages are private on npmjs you must authenticate to install it with npm login
.
If you’re not part of the Manyone organisation on npmjs.com, reach out to Caroline, Patrik or Lau.
Configuration
Usage
The variants are named using the following pattern: {type}-aspect-{width}-{height}
.
Grouping with variant group transformer
By using the variant group transformer groups of utility classes can easily be applied on the same aspect ratio breakpoint.
Options
This preset doesn’t have any options.