Artboard 16light, inspiration, solution, idea, innovation,ionicons-v5_logosGoogle Sheets iconSwift icon

Article components

Playground
Choose the CSS property to toggle
Preview
display: block
display: block
display: block
There are no surprises when using display.

Elements with display: none and all its descendants are hidden and don't take up any space.

Playground
1234
.red-square {
  clip-path: polygon(
    -20% 20%,
    20% -20%,
    120% 80%,
    80% 120%
  );
};

WIP

Playground
Choose your gutter
Preview

Doggo ipsum such treat big ol pupper what a nice floof sub woofer lotsa pats big ol shoober dat tungg tho, lotsa pats pupperino most angery pupper I have ever seen clouds thicc.

Full width

Line-clamp

Playground
Choose after how many lines an ellipsis should be shown
Preview

I'm an example paragraph! ๐Ÿ‘‹ Doggo ipsum shoob long water shoob h*ck smol fat boi, vvv wow very biscit. shibe heckin good boys and girls shoob. Bork ur givin me a spook pupper pats long bois very hand that feed shibe, you are doing me the shock adorable doggo shibe you are doin me a concern.

Playground
Playground
A div with contentEditable
Playground
Playground

inert

Playground

The example demo below shows how to make elements inaccessible.
This functionality is easy to misuse, make sure to read about inert use cases before implementing it.

Preview

You can't select me!

image-grid

DiceBear Avatars
  • Generated avatar for https://avatars.dicebear.com/api/croodles/stefan.svgavatars.dicebear.com/api/croodles/stefan.svg
  • Generated avatar for https://avatars.dicebear.com/api/bottts/stefan.svgavatars.dicebear.com/api/bottts/stefan.svg
  • Generated avatar for https://avatars.dicebear.com/api/open-peeps/stefan.svgavatars.dicebear.com/api/open-peeps/stefan.svg

Dialog intro

Playground
Preview

Dialog focus trap

Playground

dialog.show() opens an absolute position non-modal dialog.

Hello world from the dialog

Playground

dialog.showModal() opens a fixed positioned modal dialog, it's closeable by pressing ESC and all other elements become inaccessible.

Hello world from the dialog

Playground

dialog.showModal() opens a fixed positioned modal dialog, it's closeable by pressing ESC and all other elements become inaccessible.

Hello world from the dialog

Accent color explainer

Playground
Choose an accentColor
Choose a colorScheme
Preview

Text align last

Playground
Choose a text-align-last option
Choose a direction option
Preview

I'm a paragraph with text-align: justify;! ๐Ÿ‘‹ Doggo ipsum shoob long water shoob h*ck smol fat boi, vvv wow very biscit. shibe heckin good boys and girls shoob.

Code golf

Playground
Preview

Background transition

Playground
Preview

hwb picker

Playground
.preview {
  background: hwb(222deg 25% 10%);
}
Keep playing...

playground

Playground
Preview