Width (Max)

Pack name: seed-width-max

Width (max) utility pack for Seed

Contents

Install

npm install seed-width-max --save

Dependencies


Usage

All of the following classes support responsive modifiers.

These classes can also be combined with the utility classes from seed-width/seed-width-fx and seed-width-min.

Class Max-width
u-width-max-0 0%
u-width-max-1 8.33333%
u-width-max-2 16.66667%
u-width-max-3 25%
u-width-max-4 33.33333%
u-width-max-5 41.66667%
u-width-max-6 50%
u-width-max-7 58.33333%
u-width-max-8 66.66667%
u-width-max-9 75%
u-width-max-10 83.33333%
u-width-max-11 91.66667%
u-width-max-12 100%

Example

I'm blue and 25% wide (max).
I'm yellow and 50% wide (max).
I'm green and 75% wide (max).
<div class="u-width-max-3 t-bg-blue-200">
  I'm blue and 25% wide (max).
</div>
<div class="u-width-max-6 t-bg-yellow-200">
  I'm yellow and 50% wide (max).
</div>
<div class="u-width-max-9 t-bg-green-200">
  I'm green and 75% wide (max).
</div>