Recent portfolio work by one of my students used a very attractive “scaled” background image, encoded in base64. I decoded the texture to reverse-engineer the code, then improved the revealed SVG; at the same time, I created a simple hexagonal background pattern, which is also shared here.
insertBefore are very useful when it comes to adding elements to a web page, but doing so often involves rather baroque navigation through the DOM, and laboriously constructing elements. Sometimes, you just want to sneak a tag and some content beside or inside an element. Thankfully,
insertAdjacentHTML can come to the rescue in those circumstances.
My article on using CSS to position HTML5 videos as fullscreen web page backgrounds has proven to be one of the most popular on this site, but the technique has a significant challenge in that it forces users to host their own videos, or to find a service to do so.
The obvious alternative is to use YouTube as a source for backgrounds, but I’ve long considered YouTube videos to be uncontrollable: not only are