CSS Box Shadow: How Blur, Spread and Layers Work
CSS box shadow explained: offsets, blur, spread, inset and layers, plus text-shadow and drop-shadow. Blur follows a Gaussian model; drop-shadow differs.
The look of a page comes down to units, color and images. These guides explain CSS sizing and gradients, how to check color contrast, how aspect ratios work, and how to make, resize, convert and shrink images, with tools that run in your browser.
CSS box shadow explained: offsets, blur, spread, inset and layers, plus text-shadow and drop-shadow. Blur follows a Gaussian model; drop-shadow differs.
How CSS gradients work: angles, colour stops, hard edges, repeating patterns and transparency. Checked on 800 gradients and 200,000 pixels in Chromium.
QR code error correction levels L, M, Q and H compared, with measured tests of how much of a code a logo or damage can cover.
Learn how to calculate aspect ratio from a width and height, resize without distortion and use the CSS aspect-ratio rule. Checked in Python and Chromium.
Learn the px to rem formula, see a conversion table from 8px to 96px, and how rem differs from em, pt and vw. Checked against Chromium on 6,000 cases.
Learn how to convert HEX to RGB and HSL by hand, what 3 and 8 digit codes mean, why whole-number HSL loses color, and how to check contrast. Tested on Chromium.