Add capability classes to your html element

Couldn’t come up with the Javascript library that adds capabilities supported by your browser as a class to your html element.

It was Modernizr, a library way more popular in the more turbulent years of the browser wars and the start of Web 2.0

31 januari 2025 update: it must be 10 years ago that I had to use this, but today I need to write browser-specific code again 😕.

After fruitlessly searching the web using Google, I asked ChatGPT for an update. It came up with some alternatives:

Comments

Leave a Reply