Blog

This page contains a list of small tidbits I discovered and thought interesting enough to write about. Most articles describe small programming related issues I stumbled upon.

  1. Arranging diamond tiles in a grid, February 20th, 2023

    How to cause a list of items to wrap at the right position.

  2. Transitioning a clip-path polygon shape, January 6th, 2023

    When animating the clip-path for an element, the number of vertices have to match.

  3. Attaching a label to a button, December 23rd, 2022

    The label element may be used for buttons too.

  4. Move an element along a circle segment, December 17th, 2022

    How to move an HTML element along a circular segment path with CSS.

  5. Placing a fieldset's legend within the border, December 14th, 2022

    How to overcome the default placement of a legend element on the fieldset's top border.

  6. Embed HTML in SVG, February 18th, 2022
  7. Transparent borders for tables, February 9th, 2022
  8. Media queries with any-pointer, December 14th, 2021
  9. Find event listeners for DOM element, December 9th, 2021
  10. Nesting Promises, December 17th, 2020
  11. clearInterval and clearTimeout are interchangeable, May 8th, 2020
  12. Detect Browser Zoom, April 7th, 2020
  13. CSS Gradient double position syntax, February 15th, 2020
  14. Pause a CSS animation, January 19th, 2020
  15. Color SVGs with a CSS mask, January 17th, 2020
  16. CSS custom properties don't have to be valid CSS properties, January 14th, 2020
  17. Nginx default upload size, November 12th, 2019