Three snippets to implement conditional border radius.
Heyooo, I'm Stefan! I write and speak about web stuff.
New on the blog
Use the Node.js'
deprecatedutility to deprecated methods.Use the Raycast protocal handler to throw confetti from your terminal.
Two VS Code extensions to enable syntax highlighting of JS template strings.
Use the "pathLength` attribute to make animating "stroke-dasharray" and "stroke-dashoffset" easier.
Turn on the experimental tab split views via a Chrome flag.
Most popular in the last 30 days
- On being a "JavaScript framework developer"...
- How to split JavaScript strings into sentences, words or graphemes with "Intl.Segmenter"
- Can we have custom media queries, please?
- Web Weekly #172
- Web content, the social contract and copyrights
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