Modern CSS Code Snippets | modern.css

Modern CSS code snippets, side by side with the old hacks they replace. Every technique you still Google has a clean, native replacement now.

css

Rounding Corners in SDFs

Inigo Quilez heeft iets nieuws, ik klik en kijk. Procedureel ronde hoeken en verwering in 3D SDF's — ayup.

Microsoft team creates ‘revolutionary’ data-storage system that lasts for millennia

Researchers use mini plasma explosions to encode the equivalent of two million books into a coaster-sized device. The method could preserve research data for millennia with minimal storage costs.

My 1981 adventure game is now a multimedia extravaganza – Technologizer by Harry McCracken

Over the last few weeks, I created a computer game set in the Arctic. Or maybe I’ve been working on it since 1981. It all depends on how you count. All I know for sure is that I programmed the original version of Arctic Adventure in Radio Shack TRS-80 Level II BASIC when I was in high school. (It’s possible I did at least some of that work in 1980, though it was published in 1981.) In 2021, I put a debugged and slightly expanded version on the web. And in late January and early February of this year, I used Anthropic’s Claude Code to treat my ancient TRS-80 Level II BASIC code as raw material for a fancy, modern edition of Arctic Adventure. The new version even adds one meaningful feature the 1981 edition didn’t have at all: graphics.

From Old English to Modern American English in One Monologue

In this video, I present a monologue which gradually transitions from pre-literary Old English (c.450 AD) to an urban northeastern dialect of modern American English. I present it first without any subtitles or notes so that viewers can gauge when they first start to pick out words and sentences, and then with subtitles and footnotes.

The Lighthouse: How extreme isolation transforms the body and mind | New Scientist

What happens to the mind when you’re confined to a life of solitude? Robert Eggers offers his interpretation in his latest film, The Lighthouse, a psychological horror shot in haunting black and white.

QUOD by Daivuk

This entire game fits into a 64 KB executable – including all textures, levels, models, animations, sounds, music, and code. It’s a retro shooter with 3 levels, 1 boss fight, 4 unique enemies, 4 weapons, and a handful of power-ups.

SaaS is (ought to be) dead | Emir Ribic

The last couple of months my mindset has been shifting. Whenever we/I decide we need a new SaaS product, my first thought is "how quickly can I build this myself?" (myself meaning using coding agents). And more often than not, the answer is "very quickly" and I just do it. I'm sure I'm not the only one doing it – and then the question arises: Exterpolating the improvements in the last year on the agentic coding tools, what happens with many of these products in a year or two?

Israeli Soldiers Killed Gaza Aid Workers at Point Blank Range in 2025 Massacre: Report

Israeli soldiers fired nearly a thousand bullets during the massacre of 15 Palestinian aid workers in southern Gaza on March 23, 2025—with at least eight shots fired at point blank range—according to a joint investigation by the independent research groups Earshot and Forensic Architecture. The report, based on eyewitness testimony and audio and visual analysis, shows that a number of aid workers were executed and that at least one was shot from as close as one meter away.

Arabness before Islam: Views from Poetry and Genealogical Literature

Was the construction of Arabness a purely Islamic phenomenon or was there already a pre-existing conception of Arab identity before Islam? Most scholars have accepted that “Arab” is an appropriate term for the pre-Islamic inhabitants of Arabia Deserta, while noting abundant problems posed by the available evidence. In particular, it has been observed that “Arab” is exceedingly rare in pre-Islamic poetry, lending support to the possibility that names such as Maʿadd were overtaken by “Arab,” as a product of a religious (Islamic) ethnogenesis. This study addresses the question through a comprehensive survey of poetical and onomastic attestations.



Reacties

Zeg uw gedacht

Deze site gebruikt Akismet om spam te verminderen. Bekijk hoe je reactie gegevens worden verwerkt.