Another brand new way to do responsive design. New accessibility solutions to long standing problems solved in the background.
Customizable breakpoints. Customizable query aliases.
Design with pixels, build with equiv breakpoint units, 1:1 fluid delivery.
propjockey.breakpoint-system.com
100% CSS
Posts by Stefan Matei
if youโre taking suggestions: bsky.app/profile/i-li...
i updated the youtube app before trying but see i have a pending ios update tooโฆ will try that later in case itโs preventing the most recent version of the yt app
they donโt have โ0โ for adults ๐ข
Code snippet: <img alt="A cat wearing a hat." srcset="cat-s.jpg 300w, cat-m.jpg 600w, cat-l.jpg 1200w" loading="lazy" sizes="auto">
Responsive images are tough and often implemented incorrectly. With sizes=auto the browser will figure things out.
Chromium supports it, Firefox 150 in two weeks, Webkit in tech preview. I can't wait for this!
https://developer.mozill
๐ฆ navigator.storage.estimate() is Widely Available!
Find out how much storage your site is using and how much is available. Great for apps that cache large amounts of data.
> const { usage, quota } = await navigator.storage.estimate();
Learn more ๐
developer.mozilla.org/en-US/docs/...
Someone tried to bless his house with the Holy Light, right before Orthodox Easter weekend โฅ๏ธ ๐ฐ ๐ฏ๏ธ
Many people with far greater knowledge than I possess have discussed accessibility overlays, but I think the more voices and inputs in the public corpus the better.
Accessibility overlays are harmful and make things worse, not better. Avoid them.
vale.rocks/posts/access...
#Accessibility #a11y
Jewish troops will be looking for Muslims hidden in the attics of Christians. Let that sink in. https://x.com/ryangrim/statu/ryangrim/status/2039684274564051425 Quote Ryan Grim @ryangrim ยท 10h Israel is explicitly warning Christian and Druze residents in southern Lebanon not to hide Muslim residents among them as their forces advance.
And there it is.
You can also do something like `.toFixed(decimals)` to make latitude/longitude less precise by limiting how many decimals they can have.
tweet saying: RAM prices are plummeting after OpenAi failed to fulfill its commitment to purchase 40% of World supply and terminated its $71 billion SKHynix promise.
nature is healing
Screenshot of WHO Tweet, where they say, "FACT CHECK: COVID-19 is NOT airborne"
The WHO told the world 6 years ago today that "COVID-19 is NOT airborne."
This is disinformation. They have not deleted the post and have not apologized for the tens of millions of lives lost and hundreds of millions of people now with #LongCOVID because of their misguidance.
Yes, you had her as a guest not long ago.
how diffie hellman key exchange works
(with as little math as possible)
โ ๐ก๐ฒ๐ ๐๐ฟ๐๐ถ๐ฐ๐น๐ฒ: Shadow DOM Focus Delegation: Getting delegatesFocus Right
I wrote an article which discusses using ๐ฑ๐ฒ๐น๐ฒ๐ด๐ฎ๐๐ฒ๐๐๐ผ๐ฐ๐๐ for web components to delegate focus when user clicks on host element:
frontendmasters.com/blog/shadow-...
#๐ช๐ฒ๐ฏ๐๐ผ๐บ๐ฝ๐ผ๐ป๐ฒ๐ป๐๐ #๐ฆ๐ต๐ฎ๐ฑ๐ผ๐๐๐ข๐ #๐๐ฟ๐ผ๐ป๐๐ฒ๐ป๐ฑ๐๐ฒ๐ #๐๐ฐ๐ฐ๐ฒ๐๐๐ถ๐ฏ๐ถ๐น๐ถ๐๐
yeah i separate art from the artist. i put the harry potter books in the recycling and jk rowling in the trash.
Code snippet demonstrating the creation of a `WeakRef` object in JavaScript to hold a weak reference to a DOM element within a class.
Hold object references without preventing garbage collection ๐๏ธ
`WeakRef` lets you reference an object while allowing it to be GCโd if nothing else holds a strong reference. Use for caches, and pair with FinalizationRegistry.
Learn more ๐
developer.mozilla.org/en-US/docs/...
Vercel speedrunning being the most hated dev company. The CEO taking a selfie with one of the worst people on this planet should've been the final nail in the coffin, but alas.
Huh. If you had "require alt-text" enabled under Settings > Accessibility, check it. Because it may have been disabled. Mine was.
If you didn't have "require alt-text" enabled before, consider it. It's a useful reminder to keep Bluesky accessible.
div { border: 20px solid transparent; padding: 20px; background: linear-gradient(in oklch, cyan, lime) content-box, conic-gradient(deeppink 0 0) padding-box, linear-gradient(to top in oklch, cyan, lime) border-box; }
a box filled in 3 different way as described in the post
#CSS trick not enough folks know about:
painting into the sub boxes of an element
- border
- padding
- content
you can paint into one, or all of them differently!
here's a gradient border, a solid padding fill, and a gradient content (inner) box
see fur yerself
codepen.io/argyleink/pe...
CSS snippet detailing the `content-visibility` property with keyword and global values for efficient rendering practices.
Speed up rendering with content-visibility: auto โก
This CSS property skips rendering off-screen content until needed, giving massive performance wins on long pages.
โ
Pairs with contain-intrinsic-size
โ
Zero-effort lazy rendering
Learn more ๐
developer.mozilla.org/en-US/docs/...
Amen! No nation has a right to empire, including mine.
Empire kills & exploits everyday, working people abroad & at home and extracts what should never be owned.
Under white supremacist imperial capitalism, I have way more in common with a regular Iranian than any American of the EPSTEIN CLASS.
โจ New post
โSVG favicons that respect theme preferenceโ
pawelgrzybek.com/svg-favicons...
#frontend #html
I cannot reiterate enough with the frequency and gravity it deserves that every reinfection increases the cumulative risk of Long COVlD.
Our PMC survey data (n>2,000) suggest it is rare to avoid LC after 5+ known infections. I'll talk more about that again Sunday night in Becky's Space.
.track-focus { --was-focused: false; animation: track-focus 0.000001s linear forwards paused; } .track-focus:focus-within { animation-play-state: running; } @keyframes track-focus { to { --was-focused: true; }
Here's a little CSS-only trick to store the info of whether an element was previously focused. ๐
patrickbrosset.com/articles/202...
Code snippet showing the function getComposedRanges() and its syntax, displayed on a gradient blue background.
Meet Selection.getComposedRanges() ๐
Unlike getRangeAt(), it returns selection ranges across Shadow DOM boundaries, essential for modern web components.
Since August 2025, this feature is Baseline.
Learn how it works ๐
developer.mozilla.org/en-US/docs/...
:root {
--fg-color: #111;
--bg-color: #ddd;
color: var(--fg-color);
background-color: var(--bg-color);
/* This is the magic */
transition:
--fg-color 400ms ease,
--bg-color 400ms ease;
}
:root.dark {
--fg-color: #ddd;
--bg-color: #111;
}
JavaScript Iteratorโคzip landed in Firefox 148, making it simple to loop over multiple things at the same time. Here's how it works: