The Great CSS Expansion

blog.gitbutler.com

A comprehensive look at how new CSS features are replacing JavaScript libraries. Anchor positioning, the Popover API, scroll-driven animations, view transitions, customizable selects, and more. The article estimates around 322 kB of JavaScript that can potentially be replaced by native CSS.

Read more [blog.gitbutler.com]

Join 9,500+ smart developers

Get my monthly newsletter with what I learn from running Spatie, building Oh Dear, and maintaining 300+ open source packages. Practical takes on Laravel, PHP, and AI that you can actually use.

No spam. Unsubscribe anytime. You can also follow me on X.

20 years of Bram.us

www.bram.us

Bram has been running his excellent blog for 20 years now. Bram.us was the blog that inspired me to start with a blog of my own.

Highly recommend to check it every once in a while if you're into webdev (which I guess you are since you're reading this on freek.dev).

Read more [www.bram.us]

How tracking pixels work

jvns.ca

Julia Evans explains how parties like Facebook can follow you around the web.

In this post we’ll experiment a bit and see exactly how Facebook can know what products you’ve looked at online! I’m using Facebook as an example in this blog post just because it’s easy to find websites with Facebook tracking pixels on them but of course almost every internet advertising company does this kind of tracking.

Read more [jvns.ca]

10 HTML Elements You Didn't Know You Needed

dev.to

Emma Bostian demonstrates some lesser known HTML elements.

HTML is a powerful markup language which can be used to give our web applications structure and provide powerful accessibility benefits, but only when used appropriately. Thus, today we’ll discover ten HTML elements you might not have known existed in the hopes that you can create more accessible, and structurally-sound web applications.

Read more [dev.to]