Alan Shortis–Examples

A collection of code examples, experiments, and demos for

For the source of each example, right click and 'view source'.


Each exmaple relates to the linked blog post at

  1. April 14 2022: Building a share button custom element. Demo 1, Demo 2, Demo 3. Article.
  2. January 07 2022: Marking external links. Demo. Article.
  3. January 18 2021: CSS environment variables. Demo. Article.
  4. October 27 2019: Dark Mode. Demo. Article.