Monthly Archive February 2021
- 2021/02/25 - Scratching my own itch - a JavaScript slide show for full screen looping GIFs and MP4s "Quick Look on Mac won't loop MP4s, so here is an open source vanilla JavaScript slide show for full-screen looping GIFs and videos with keyboard and autoplay."
- 2021/02/19 - A code snippet to scrape all headings and their target URLs from a markdown generated page "A short DevTools Console script collects every heading with an ID plus its full anchor URL from a Markdown-generated page and copies the list to the clipboard."
- 2021/02/09 - Using position - sticky to create persistent headers in long texts "Keep section headings visible while readers scroll long documents using CSS position: sticky with top: 0 and a background colour, no JavaScript required."
- 2021/02/08 - Sharing data between CSS and JavaScript using custom properties "Read and set CSS custom properties from JavaScript to pass data like mouse coordinates into CSS, keeping logic in JS and all look and feel in your stylesheet."