Kit Cross

Web development

Dark mode videos with prefers-color-scheme

Dark mode has wide browser support and media queries allow for switching images by user color scheme. The same is also possible with video elements.

Quick 301 redirects with Lambda@Edge and Cloudfront

Attaching Lambda functions to Cloudfront distributions allows for server side scripting on a static site. This enables easy permanent redirects or AB tests.

How to make HEVC, H265 and VP9 videos with an alpha channel for the web

HEVC encoding on macOS Catalina now supports encoding an alpha channel, enabling many creative options on the web and inside apps.