A quick snippet to feature detect View Transition Types.
Heyooo, I'm Stefan! I write and speak about web stuff.
New on the blog
light-dark()andprefers-color-schemetreat the definedcolor-schemevalues differently.Three snippets to implement conditional border radius.
Use the Node.js'
deprecatedutility to deprecated methods.Use the Raycast protocal handler to throw confetti from your terminal.
Most popular in the last 30 days
- Web content, the social contract and copyrights
- light-dark() isn't always the same as prefers-color-scheme
- How to split JavaScript strings into sentences, words or graphemes with "Intl.Segmenter"
- On being a "JavaScript framework developer"...
- Can we have custom media queries, please?
Hacker News Hits
- HTTP headers for the responsible developer 887 upvotes and 98 comments
- A Firefox-only minimap (2021) 699 upvotes and 113 comments
- Git commit accepts several message flags (-m) to allow multiline commits 339 upvotes and 152 comments
- How to force yourself to leave the computer using the leave command 77 upvotes and 32 comments
- Say goodbye to resource-caching across sites and domains 74 upvotes and 79 comments