.background-grid {
background-image: linear-gradient(#1c7cbb 1.5px, transparent 1.5px, transparent calc(100% - 1.5px), #1c7cbb calc(100% - 1.5px)), linear-gradient(90deg, #1c7cbb 1.5px, transparent 1.5px, transparent calc(100% - 1.5px), #1c7cbb calc(100% - 1.5px));
background-size: 10% 10%;
border: 1.5px solid #1c7cbb;
}
display
.Elements with display: none
and all its descendants are hidden and don't take up any space.
.red-square {
clip-path: polygon(
-20% 20%,
20% -20%,
120% 80%,
80% 120%
);
};
WIP
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
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.
div
with contentEditable
inert
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.
You can't select me!
image-grid
avatars.dicebear.com/api/croodles/stefan.svg
avatars.dicebear.com/api/bottts/stefan.svg
avatars.dicebear.com/api/open-peeps/stefan.svg
Dialog intro
Dialog focus trap
dialog.show()
opens an absolute position non-modal dialog.
dialog.showModal()
opens a fixed positioned modal dialog, it's closeable by pressing ESC and all other elements become inaccessible.
dialog.showModal()
opens a fixed positioned modal dialog, it's closeable by pressing ESC and all other elements become inaccessible.
Accent color explainer
Text align last
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
Background transition
hwb picker
.preview {
background: hwb(222deg 25% 10%);
}