Global Traits #

Move (Animations) #

Left Right Up Down
move-l move-r move-u move-d
c-move-l c-move-r c-move-u c-move-d

Outlined #

Options Description
outlined border: 1px solid currentColor;
outlined-black border: 1px solid #000;
outlined-white border: 1px solid #fff;

Inner Outlined #

Options Description
c-outlined > * { border: 1px solid currentColor; }
c-outlined-black > * { border: 1px solid #000; }
c-outlined-white > * { border: 1px solid #fff; }

Rounded #

Options Description
rounded-1 border-radius: 5px;
rounded-2 border-radius: 10px;
rounded-3 border-radius: 15px;
rounded-4 border-radius: 20px;
rounded-5 border-radius: 25px;
rounded-6 border-radius: 30px;
rounded-7 border-radius: 35px;
rounded-7 border-radius: 100%;

Inner Rounded #

Options Description
c-rounded-1 > * { border-radius: 5px; }
c-rounded-2 > * { border-radius: 10px; }
c-rounded-3 > * { border-radius: 15px; }
c-rounded-4 > * { border-radius: 20px; }
c-rounded-5 > * { border-radius: 25px; }
c-rounded-6 > * { border-radius: 30px; }
c-rounded-7 > * { border-radius: 35px; }
c-rounded-7 > * { border-radius: 100%; }

Shadow #

Single Direction #

Option Description
shadow-u-1 filter: drop-shadow(0px -4px 5px var(--is-shadow-color));
shadow-u-2 filter: drop-shadow(0px -8px 10px var(--is-shadow-color));
shadow-u-3 filter: drop-shadow(0px -16px 20px var(--is-shadow-color));
shadow-d-1 filter: drop-shadow(0px 4px 5px var(--is-shadow-color));
shadow-d-2 filter: drop-shadow(0px 8px 10px var(--is-shadow-color));
shadow-d-3 filter: drop-shadow(0px 16px 20px var(--is-shadow-color));
shadow-l-1 filter: drop-shadow(4px 0px 5px var(--is-shadow-color));
shadow-l-2 filter: drop-shadow(8px 0px 10px var(--is-shadow-color));
shadow-l-3 filter: drop-shadow(16px 0px 20px var(--is-shadow-color));
shadow-r-1 filter: drop-shadow(-4px 0px 5px var(--is-shadow-color));
shadow-r-2 filter: drop-shadow(-8px 0px 10px var(--is-shadow-color));
shadow-r-3 filter: drop-shadow(-16px 0px 20px var(--is-shadow-color));
Hello
Hello
Hello
Hello

Diagonal #

Option Description
shadow-ul-1 filter: drop-shadow(-4px -4px 5px var(--is-shadow-color));
shadow-ul-1 filter: drop-shadow(-8px -8px 10px var(--is-shadow-color));
shadow-ul-1 filter: drop-shadow(-16px -16px 20px var(--is-shadow-color));
shadow-ur-1 filter: drop-shadow(4px -4px 5px var(--is-shadow-color));
shadow-ur-1 filter: drop-shadow(8px -8px 10px var(--is-shadow-color));
shadow-ur-1 filter: drop-shadow(16px -16px 20px var(--is-shadow-color));
shadow-dl-1 filter: drop-shadow(-4px 4px 5px var(--is-shadow-color));
shadow-dl-2 filter: drop-shadow(-8px 8px 10px var(--is-shadow-color));
shadow-dl-2 filter: drop-shadow(-16px 16px 20px var(--is-shadow-color));
shadow-dr-1 filter: drop-shadow(4px 4px 5px var(--is-shadow-color));
shadow-dr-2 filter: drop-shadow(8px 8px 10px var(--is-shadow-color));
shadow-dr-2 filter: drop-shadow(16px 16px 20px var(--is-shadow-color));
Hello
Hello
Hello
Hello

Stickiness #

Options Description
sticky-0 position: sticky; top:0;
sticky-1 position: sticky; top:1vh;
sticky-2 position: sticky; top:2vh;
sticky-3 position: sticky; top:3vh;
sticky-4 position: sticky; top:4vh;

Level #

Options Description
level-top z-index: 9999
level-bottom z-index: -9999

Spread Traits #

Inner Pinned #

Options Description
c-pinned-top align-items: flex-start;
c-pinned-bottom align-items: flex-end;
c-pinned-center align-items: center;
c-pinned-stretch align-items: stretch;
c-pinned-baseline align-items: baseline;

Pinned Bottom

A Subtitle

We were so magical, why end this way?

I know you're furious, yeah, just like me.

You got good reasons, but I do too.


Pinned Top

A Subtitle

We were so magical, why end this way?

I know you're furious, yeah, just like me.

You got good reasons, but I do too.


Pinned Center

A Subtitle

We were so magical, why end this way?

I know you're furious, yeah, just like me.

You got good reasons, but I do too.


Pinned Stretch

A Subtitle

We were so magical, why end this way?

I know you're furious, yeah, just like me.

You got good reasons, but I do too.


Pinned Baseline

A Subtitle

We were so magical, why end this way?

I know you're furious, yeah, just like me.

You got good reasons, but I do too.

Responsive Sizing & Visibility #

Direct #

Mobile Tablet Touch Desktop
(<768px) (>768px <1024px) (<1024px) (>1024px)
is-fullsize-mobile is-fullsize-tablet is-fullsize-touch is-fullsize-laptop
is-hidden-mobile is-hidden-tablet is-hidden-touch is-hidden-laptop
is-invisible-mobile is-invisible-tablet is-invisible-touch is-invisible-laptop

Inner #

Mobile Tablet Touch Desktop
(<768px) (>768px <1024px) (<1024px) (>1024px)
c-fullsize-mobile c-fullsize-tablet c-fullsize-touch c-fullsize-laptop
c-hidden-mobile c-hidden-tablet c-hidden-touch c-hidden-laptop
c-invisible-mobile c-invisible-tablet c-invisible-touch c-invisible-laptop

Stack Traits #

Fit #

You can use a generic stack and apply fits.

  • You can use c-fit on the stack itself to tailor stack items to size to their content.
  • You can also use is-fit directly on child elements individually. This is especially useful for customizing link or button sizes inside your stack (see following example).

Fit Types #

Type Description
is-fit max-width: fit content; flex:none;
is-fit-x max-width: fit content;
is-fit-y flex:none;
c-fit > * { max-width: fit content; flex:none; }
c-fit-x > * { max-width: fit content; }
c-fit-y > * { flex:none; }
<section class="spread purple">
        <div class="stack c-p-1 c-m-2 ">
            <a href="" class="button white text-s text-center">  Link 1 </a>
            <a href="" class="button white text-s is-fit-y">  Link 2 </a>
            <a href="" class="button white text-s is-fit-x">  Link 3 </a>
            <a href="" class="button white text-s is-fit">  Link 4 </a>
        </div>
 
    <div class="is-four-fifths white c-sp-1 text-center">
        <h1>Hello, world!</h1>
        <p> Lots of SEO Content here.</p>
        <p> Lots of SEO Content here.</p>
        <p> Lots of SEO Content here.</p>
        <p> Lots of SEO Content here.</p>
    </div>
</section>

Hello, world!

Lots of SEO Content here.

Lots of SEO Content here.

Lots of SEO Content here.

Lots of SEO Content here.