Advertisement ยท 728 ร— 90

Posts by Stefan Matei

breakpoint-system - Deliver your designs. | by PropJockey.io

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

23 hours ago 15 3 1 0

if youโ€™re taking suggestions: bsky.app/profile/i-li...

1 day ago 0 0 0 0

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

1 day ago 0 0 0 0

they donโ€™t have โ€œ0โ€ for adults ๐Ÿ˜ข

1 day ago 0 0 1 0
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">

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

1 day ago 60 7 3 0

๐Ÿ“ฆ 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/...

1 week ago 49 7 1 1

Someone tried to bless his house with the Holy Light, right before Orthodox Easter weekend โ™ฅ๏ธ ๐Ÿฐ ๐Ÿ•ฏ๏ธ

1 week ago 0 0 0 0
Preview
Stay Away From Accessibility Overlays All the costs with none of the compliance!

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

2 weeks ago 22 8 1 0
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.

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.

2 weeks ago 1603 911 109 72

You can also do something like `.toFixed(decimals)` to make latitude/longitude less precise by limiting how many decimals they can have.

2 weeks ago 2 0 1 0
Advertisement
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.

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

2 weeks ago 2 0 0 0
Screenshot of WHO Tweet, where they say, "FACT CHECK: COVID-19 is NOT airborne"

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.

3 weeks ago 296 98 12 6

Yes, you had her as a guest not long ago.

3 weeks ago 0 0 0 0
Post image

how diffie hellman key exchange works

(with as little math as possible)

3 weeks ago 421 113 6 6
Preview
Shadow DOM Focus Delegation: Gettingย delegatesFocusย Right You don't necessarily have to do focus handling yourself with shadow DOM web components. For simple wrapper components, there is an easier (and better) way.

โŽˆ ๐—ก๐—ฒ๐˜„ ๐—”๐—ฟ๐˜๐—ถ๐—ฐ๐—น๐—ฒ: 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-...

#๐—ช๐—ฒ๐—ฏ๐—–๐—ผ๐—บ๐—ฝ๐—ผ๐—ป๐—ฒ๐—ป๐˜๐˜€ #๐—ฆ๐—ต๐—ฎ๐—ฑ๐—ผ๐˜„๐——๐—ข๐—  #๐—™๐—ฟ๐—ผ๐—ป๐˜๐—ฒ๐—ป๐—ฑ๐——๐—ฒ๐˜ƒ #๐—”๐—ฐ๐—ฐ๐—ฒ๐˜€๐˜€๐—ถ๐—ฏ๐—ถ๐—น๐—ถ๐˜๐˜†

3 weeks ago 2 2 1 0
Post image
3 weeks ago 160 58 8 2

yeah i separate art from the artist. i put the harry potter books in the recycling and jk rowling in the trash.

3 weeks ago 2972 718 14 16
Code snippet demonstrating the creation of a `WeakRef` object in JavaScript to hold a weak reference to a DOM element within a class.

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/...

3 weeks ago 30 4 0 1

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.

4 weeks ago 9 1 0 0
Advertisement
1 month ago 10492 2903 108 293

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.

1 month ago 208 100 0 30
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;
}

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

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...

1 year ago 191 29 6 4
CSS snippet detailing the `content-visibility` property with keyword and global values for efficient rendering practices.

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/...

1 month ago 66 8 3 0

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.

1 month ago 24 8 1 0
Preview
SVG favicons that respect theme preference | pawelgrzybek.com Less of guide about the favicons and more a bug report of Safari that at the moment ignores media query user preferences in SVG favicons.

โœจ New post

โ€œSVG favicons that respect theme preferenceโ€

pawelgrzybek.com/svg-favicons...

#frontend #html

1 month ago 17 3 1 1

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.

1 month ago 240 107 5 5
.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; }

.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...

1 month ago 19 1 0 0
Code snippet showing the function getComposedRanges() and its syntax, displayed on a gradient blue background.

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/...

1 month ago 20 3 0 0

: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;
}

1 month ago 14 0 0 0
Advertisement
Video

JavaScript Iteratorโ€คzip landed in Firefox 148, making it simple to loop over multiple things at the same time. Here's how it works:

1 month ago 98 18 8 1