Web Development

Fit width text in 1 line of CSS

From Adam, prototyped in Chrome Canary 145: h1 { text-grow: per-line scale; } Danny discussed this a while back when looking at different approaches for fitting text to a container, spelling out the syntax (text-shrink included) that you can find in Roma Komarov’s explainer: text-grow: <fit-target> <fit-method>? <length>?; text-shrink: <fit-target> <fit-method>? <length>?; <fit-target> per-line: For text-grow, […]

Fit width text in 1 line of CSS Read More »

HTML Web Components Proposal From 1998

Web components, as imagined in 1998 from a never-adopted specification: Componentization is a powerful paradigm that allows component users to build applications using ‘building blocks’ of functionality without having to implement those building blocks themselves, or necessarily understand how the building works in fine detail. This method makes building complex applications easier by breaking them down

HTML Web Components Proposal From 1998 Read More »