Any idea who’s right? It would be nice to be able to position a
popover right next to the button that triggers it. Firefox and Safari both make it easy. Chrome’s behavior makes me sad.👍11❤1
Have you seen any good articles or projects using Cascade Layers for CSS architecture? Modern CSS seems capable of something similar to BEM without complex tooling, but I’m struggling to make it work. You know, 15-year-old habits won’t let you go easy.
I’ll start:
A whole cascade of layers
Modern alternatives to BEM
Modern CSS for dynamic component-based architecture
I’ll start:
A whole cascade of layers
Modern alternatives to BEM
Modern CSS for dynamic component-based architecture
🔥16
With another wave of seasonal migration between social networks, let me remind you that I cross-post pretty much everywhere I can to stay in touch with scattered friends. I’m mostly active on Mastodon, but feel free to pick the one that works for you: Mastodon, Bluesky, Threads, X, LinkedIn, Facebook.
Also, occasional photos and videos from gigs on Instagram.
Also, occasional photos and videos from gigs on Instagram.
❤2
Gather around the fire, kids. Today, I will tell you an HTMHell story about native HTML color scheme switching. It’s getting dark early in Berlin in the winter…
https://htmhell.dev/adventcalendar/2024/9/
https://htmhell.dev/adventcalendar/2024/9/
🔥20❤4
Happy browser choice day to those in Europe who celebrate! This is a second attempt to get it right. Brought to you by the iOS 18.2 update and the fine folks from Open Web Advocacy
❤23😁4👍3
I have a suspicion that jzczhz and jzazbz color spaces were named by a cat walking on a keyboard 🥲
https://mastodon.scot/@noscripteesus/113673628536576666
https://mastodon.scot/@noscripteesus/113673628536576666
mastodon.scot
Chris Lilley 🏴 (@noscripteesus@mastodon.scot)
The #csswg has published CSS Color HDR 1. This gives a way to control the presentation of HDR content such as video, images etc and also adds several HDR colorspaces to CSS (in addition to the WCG but SDR colorspaces that already exist). #css
https://www.w3.org/TR/css…
https://www.w3.org/TR/css…
😁15❤1👍1🤔1💯1
Starting from Chrome 122 and today’s Firefox 134, you can use
https://codepen.io/pepelsbey/pen/xxvLBYZ
align-self and justify-self (or the place-self shortcut) to control boxes with position: absolute and inset: 0. Waiting for Safari to catch up!https://codepen.io/pepelsbey/pen/xxvLBYZ
🔥23❤6🤔2
I just discovered that you can’t debug styles in a shadow root in WebKit Web Inspector if they’re attached using
https://bugs.webkit.org/show_bug.cgi?id=289948
adoptedStyleSheets (constructable stylesheets). For some reason, they’re considered user agent stylesheets 🤔https://bugs.webkit.org/show_bug.cgi?id=289948
👀9❤3🔥1😁1🤔1
Planned a four-day CSS trip to Amsterdam in June:
June 4, Pre-CSS Day meetup
June 5–6, CSS Day conference
June 7, CSS Café meetup
See you there 🤓
June 4, Pre-CSS Day meetup
June 5–6, CSS Day conference
June 7, CSS Café meetup
See you there 🤓
🔥20👍4
Div is not a button, you say. How about li? Looks legit.
<li _ngcrap routerlink="/activities" tabindex="0">
Activity stream
</li>
😁22🤔8👀6💯1