Skip to content

Protips

Curated Protips resources.

Source

15 resources imported from AllThingsSmitty/css-protips, dedicated to the public domain (CC0 / Unlicense). Thanks to its maintainers and contributors. Part of the KEEBOX Library · Category: Front-End Development.

Protips

Use a CSS Reset

Inherit box-sizing

Use :not() to Apply/Unapply Borders on Navigation

Add line-height to body

Set :focus for Form Elements

Vertically-Center Anything

Use aspect-ratio Instead of Height/Width

Select Items Using Negative nth-child

Use the "Lobotomized Owl" Selector

Equal-Width Table Cells

Control Specificity Better with :is()

Intrinsic Ratio Boxes

Use :root for Flexible Type

Translations