Written things
A collection of thoughts written down over the years, including very large interludes. As with history, these should be read in the context of the time they were written in.
Mistakes are all mine.
-
Animating height: auto
Ever tried to animate or transition the height of an element that has dynamic dimensions? It's frustrating and unsatisfactory. Here are two strategies to make it better. —
-
Docker on macOS without Docker Desktop
Since Docker Desktop is no longer free (in some cases), this is a quick way to get Docker engine working on macOS without having to think about licenses. —
-
Revealing text-overflow: ellipsis
It's great to use
text-overflow: ellipsis
to save our layouts from content that is too large, but it makes that content inaccessible. Is there some way to make this "less bad"? — -
Making a spinner
A simple SVG and CSS solution when you need your own custom spinner —
-
Flyweight proxy
What to do when a trusted programming pattern doesn't fit the problem? We use cool JavaScript tools, of course. Reducing memory usage and making UI more responsive in one go. —
-
Vertical reordering in CSS
Abusing
transform: rotate()
for changing the order of DOM elements — -
HTML 5
—
-
Layout systems
When floats no longer cut it for layout; looking to take CSS to the future —