Raoul - Web Application Developer
  • home
  • Imprint / Privacy
  • github
  • npmjs

ux

A collection of 2 posts
css dark-mode/light-mode - rethought
frontend

css dark-mode/light-mode - rethought

So, you read my last blog entry about "CSS, Dark-Mode and Custom Properties" and start to build for every website a light and a dark theme, to support your visitors. That's nice - and then you like your light theme more than the dark theme and
Jan 5, 2020 5 min read
javascript - choosing the right timeout is easy
plain js

javascript - choosing the right timeout is easy

Every once in awhile I see code that debounces expensive events like resize or scroll: someTimeout = window.setTimeout(debounceScroll, 10); and I wonder about the magic numbers, developers choose. magic numbers In the example the dev thinks 10 milliseconds is a good time to debounce this event. The whole code
Oct 4, 2017 2 min read
Page 1 of 1
Raoul - Web Application Developer © 2025
Powered by Ghost