Stuff I wrote

A range of unique and possibly interesting web development ideas of varying quality. Basically "I think stuff and sometimes I write it down".

React has limitations when it comes to working with persistent stateful media objects. In this article I discuss techniques for working with media elements like canvas, video and third-party libraries in React.

Continue reading…

What is this in JavaScript?

My attempt at a very basic explanation of the 'this' keyword in JavaScript.

Continue reading…

There are some interesting differences between how currentColor and custom properties work. Both are examples of dynamic properties in CSS but how they are resolved differs in some very important ways. I recently came across an example of this that had me scratching my head for a while.

Continue reading…

New design, content and some new CSS tricks on my website.

Continue reading…

Custom Properties have the potential to change how we write and think about CSS.

Continue reading…

A solution for transitioning lengths values in CSS through more than one 'bending point'.

Continue reading…

Explains the box model, cascade, formatting contexts, positioning, stacking and a lot more about how CSS works. A right of passage, I had to write my version.

Continue reading…

Ideas for a more general purpose interpolation function in CSS.

Continue reading…

On maths and coding

A more personal article on being a developer and having an average mathematical ability.

Continue reading…

SVG has more potential

A bunch of interesting techniques for using SVG to make unique responsive components.

Continue reading…