Kilian Valkhof
@kilianvalkhof.com
4.7K followers 460 following 1.1K posts
I build tools for devs and designers: @Polypane.app, FixA11y, Superposition | Electron governance member | He/him
Posts Media Videos Starter Packs
kilianvalkhof.com
😩

The state of the art is regexes.

😩😩😩
Reposted by Kilian Valkhof
Reposted by Kilian Valkhof
toddl.dev
I am immensely grateful that we almost hit the 40% raised mark I was hoping for after the first week. There is more work to get this goal reached. I won't stop now so I once again ask for any and all shares and donations, no matter how small. Every little bit helps. gofund.me/24c249d90
Donate to Fundraiser for Paula Johnson's Medical & Recovery Fund, organized by Todd Libby
My name is Todd Libby, and I am starting this on the behalf of my pa… Todd Libby needs your support for Fundraiser for Paula Johnson's Medical & Recovery Fund
gofund.me
kilianvalkhof.com
I already 'fixed' Google login and Cloudflare captcha for Polypane, and I'll get the Google Search Captcha issue too.
kilianvalkhof.com
One of the least fun aspects of building a browser is dealing with all the user-agent sniffing and profiling that systems to do and finding ways to deal with them, when it's all undocumented and obscured.
Reposted by Kilian Valkhof
shrikhalpada.dev
my magnum opus, an extension that converts AI-related words to egg-related words, is available for free in the Chrome Web Store!
Eggify - Chrome Web Store
Replaces AI-related words with egg-related words.
chromewebstore.google.com
Reposted by Kilian Valkhof
kevinpowell.co
Do you have any smaller/under-the-radar CSS sites/people that you follow?

Looking for blogs, YouTube channels, or anyone who just shares cool CSS stuff.

Reply if you know any, and look at the replies for new people/sites to follow 😊
kilianvalkhof.com
ah the completely human endeavor of googling "em dash" and manually copying and pasting the long dash into your document.

bliss such as only humans feel
kilianvalkhof.com
It's a first sentence, so that could be increased in more sentencing after non-compliance. We'll see.
kilianvalkhof.com
That, too, is wild. sibling-index() is going to unlock a whole bunch of stuff!

That said, I vastly prefer the original clunky :nth-child():nth-child() notation over this inscrutable calculation. ;)
kilianvalkhof.com
The courts just ordered Meta to offer an algorithm-free version of their _default_ newsfeed for Dutch users 🥳 (i.e. it can be set as the default)

I'm strongly in favor of this becoming an EU-wide requirement, but it looks like that's not on the table yet.

nos.nl/artikel/2584...
Rechter: Instagram en Facebook moeten algoritmevrije optie krijgen
Bits of Freedom eiste dat in een rechtszaak en kreeg gelijk van de Nederlandse rechter.
nos.nl
kilianvalkhof.com
no way!

I understand like half of this :D
Reposted by Kilian Valkhof
andrewhudson.dev
You could do it with container query range syntax (coming Chrome 142+ I think) e.g. codepen.io/bigandy/pen/...
container style range query - Chrome 142+
...
codepen.io
kilianvalkhof.com
I'd open a CSSWG ticket, but that has never worked out for me so 🤷
kilianvalkhof.com
:nth-child() and friends.

You can select arbitrary ranges with `nth-child(n+X):nth-child(-n+Y)` to select everything between X and Y.

Wouldn't it be neat if you could just to `:nth-child( x < n < y)` ?
kilianvalkhof.com
...I don't know in how many more places I need to put "yearly" or "monthly", with multiple arrows pointing at the toggle to change between them, for people to stop "accidentally" choosing the time period they actually didn't want.

just at my wits end.
Reposted by Kilian Valkhof
polypane.app
Custom media queries are actively being worked on in Chromium, so it won't be long until we can update our complete guide to CSS Media queries!

Check it out to get a head start on using custom media queries.

polypane.app/blog/the-com...
The complete guide to CSS media queries | Polypane
Media queries are what make modern responsive design possible. With them you can set different styling based on things like a users screen size, device…
polypane.app
Reposted by Kilian Valkhof
polypane.app
New in Polypane 26: all our devices emulate the correct `safe-area-inset-*` CSS environment variables, as well as the correct small viewport height.

Toggle the visualization from the emulation settings to see where they're located. Like browser UI the svh overlay scrolls away when you scroll down.