Skip to content

· 2 min read

SVG encoder (né URL encoder)

Why an SVG needs encoding before it will sit in a CSS background image, and the little tool I keep here for doing it — rebuilt, and about a third leaner than the version I wrote in 2018.

CSS SVG

· 6 min read

Nice and easy AJAX for WordPress

Loading a page into a popup without a library — the dialog element, the REST API and about thirty lines of JavaScript. A rewrite of a post from 2017, when it took rather more.

AJAX JavaScript WordPress