Jochen Vandendriessche retweeted
Y’all seem to like the posts on using the Custom Highlight API with @prismjs to syntax highlight code …
So here’s a full article digging into the details + a new demo that does on-the-fly highlighting of code you type into a [contenteditable] element.
brm.us/syntax-highlighting
Jochen Vandendriessche retweeted
auto-growing <textarea> without JavaScript!
CSS is getting field-sizing: content; to size inputs by their contents.
Dropped in Chrome Canary today, demo here:
Jochen Vandendriessche retweeted
📝 The case against self-closing tags in HTML
At best, they're a relic from the past, and at worst, they're actively misleading.
jakearchibald.com/2023/again…
Jochen Vandendriessche retweeted
Forget CSS, people don't even know HTML.
Here's why I'm saying this: I've looked through demos made for last week's #CodePenChallenge codepen.io/challenges/2023/j… in order to get a better idea of how people want such a control to look and work.
And here are some numbers: 😭
we zijn 2023, er bestaan digitale meters en 101 soorten dongels om realtime je verbruik te meten.
Toch stuurt mijn energieleverancier mij een ‘voorschotfactuur’ die meer dan het dubbel is van mijn reëel verbruik zonder ook maar een deftige mogeljikheid om dit aan te passen…
1
1
324
Jochen Vandendriessche retweeted
Someone asked if it's possible to use images that only exist during a view transition. Yes. The answer is yes.
Demo: simple-set-demos.glitch.me/b… (works in Chrome Canary)
Jochen Vandendriessche retweeted
Blank page with an embedded tweet. How bad can it be?
JS: 1.5MB 🤯
PageSpeed score: 61/100 🤯
Time to Interactive: 9 sec 🤯
TBT: 1.7 sec 🤯
What hope does an average site have if a simple tweet requires MegaBytes of JS and seconds to interactivity?
mhevery.github.io/perf-tests…
Partial #zottesfeer reunion. It’s been 12 years since our very first encounter @fronteersconf. Remember #jantjesverjardag #lellebel #particles @ In The Pocket instagram.com/p/CfV9k7UotdB/… – at Ghent, Belgium
3
Do you remember when you joined Twitter? I do! #MyTwitterAnniversary
2
"In the web front-end stack — HTML, CSS, JS, and ARIA — if you can solve a problem with a simpler solution lower in the stack, you should. It’s less fragile, more foolproof, and just works."
Excellent write-up from @bramus:
css-tricks.com/embrace-the-p…
8
Jochen Vandendriessche retweeted
"ARIA is a much less forgiving and can be much more damaging than a bad HTML element somewhere usually is. And it also is more complicated."
A great writeup on fixing Web accessibility systematically, by @yatil
#a11y yatil.net/blog/fix-web-acces…
Jochen Vandendriessche retweeted
✨ New post!
I wrote about my favorite HTML element you might not have heard of: <dl>
You've probably got some use cases for this one!
benmyers.dev/blog/on-the-dl/
ik krijg een mail dat 3DM een digitale meter komt plaatsen in naam van fluvius. Er staat een voorgestelde datum/tijdstip die ik moet bevestigen.
Op de link naar fluvius.3dm.be moet ik inloggen?
Op de link naar fluvius.be/digitalemeter kan ik mijn afspraak verplaatsen? 1/
2
1
@Fluvius_be net gebeld maar na 8 minuten wachtmuziek werd mijn verbinding verbroken?
Ik heb al een herinnering ontvangen dat ik mijn afspraak moet bevestigen maar slaag er op niet in om dit op een vlotte manier te doen?
1
De 3de mogelijkheid is bellen...
Hoe kan die digitale ervaring nu zo bagger zijn? Als digital savvy guy kan ik hen enkel bellen want via de andere 2 mogelijkheden kan ik niets doen? /2


![Screenshot of the on-the-fly syntax highlighting of a [contenteditable].](https://pbs.twimg.com/media/GGpqtTGXsAAyuok.png?name=small&format=webp)














