Using these classes it quite simple to control the maximum width an element should have. You can either use a percentage based class or use a class to span the whole screen using the max-w-[size] syntax.
⚠ Note that the viewport variants are disabled in the default build of Cirrus. To enable, you must enable it yourself in _configs.scss and create a custom build or enable it in the config in your Sass project.
To use the viewport variant of a given class, you just need to suffix each class with a viewport selector. For example, if I only want max-w-0 to be applied to some element for lg and above, then I would use the lg:max-w-0 class.
<divclass="lg:max-w-0"><!-- ... --></div>
For more information, visit the Viewports documentation.
The classes specified above are the default utility classes for setting maximum widths. You can add, change, or remove classes within the _config.scss file of Cirrus.