Advertisement Β· 728 Γ— 90

Posts by Brecht De Ruyte

NEW
VIDEO
EVERY
WEEK

2 days ago 15 2 1 0

Also, your voice matters in this... if you agree with this, even a thumbs up on the issue can flag its importance.

2 days ago 0 0 0 0

scroll-padding reserves space for a header that isn't there. Everything goes out of sync and that's just bad UX in my book. Which is why I created this issue.

2 days ago 1 0 1 0

When using scroll-state (scrolled), CSS can track the scroll position, and scroll-padding ensures anchor links don't get buried behind the header. Except... clicking an anchor doesn't trigger scroll-state. The header doesn't know you just navigated.

2 days ago 1 0 1 0
Preview
[css-conditional-5] Anchor fragment scrolls should update scroll-state(scrolled) direction to stay consistent with scroll-padding Β· Issue #13787 Β· w3c/csswg-drafts The resolution in #12394 categorizes anchor fragment scrolls as absolute scrolls, meaning they don't set the last scroll direction for state queries like scroll-state(scrolled: top) and scroll-stat...

I filed a CSSWG issue (read more about it in this thread...) github.com/w3c/csswg-dr...

It's a fun one... You know the "hidey-bar" pattern... The one where the header hides when you scroll down, reappears when you scroll up? CSS can do that now, but there is a catch... and I don't like it

2 days ago 5 1 2 0
Preview
Corner-shape: Buttons & Tags ...

Or use the new corner shapes feature for sharp bevel corners and notches 🀩
codepen.io/utilitybend/...

1 week ago 0 0 1 0
Preview
Turning a CSS Carousel into a Theme Switcher What happens when scroll becomes state? An exploration of a JS-free theme switcher powered by modern CSS primitives.

This carousel by @schepp.dev is such a cool idea! I saw the demo and totally missed that there was an article on that
schepp.dev/posts/turnin...

1 week ago 6 2 1 0
Advertisement
Preview
Finally sane accordion ...

Let's try and recreate the examples! This is one of them. codepen.io/utilitybend/...

πŸ˜… I think we can do the grid lane one as well.

1 week ago 4 0 1 0
Drawing of headphones in pastel Blue and pink on a e ink tablet. Music notes between the earpieces and stars around it.

Drawing of headphones in pastel Blue and pink on a e ink tablet. Music notes between the earpieces and stars around it.

Wakey wakey sketchy. πŸ₯±

2 weeks ago 0 0 0 0

Before you blindly say 100px–200px–300px, hear me out: github.com/LeaVerou/blo...

(And if you really want it to be 100px–200px–300px then it’s simple: don’t type the --arg)

2 weeks ago 18 4 4 0
Brecht giving his talk, tv with a slide on next to him

Brecht giving his talk, tv with a slide on next to him

Bramus giving his talk, tv with a slide on next to him

Bramus giving his talk, tv with a slide on next to him

Got an interesting and entertaining evening of web talks thanks to these two speakers @utilitybend.com & @bram.us at the devs.gent meetup! ;)

2 weeks ago 5 2 0 0
Bramus pretending with slide view transitions: cranking it up to 11. In the front is the iO logo.

Bramus pretending with slide view transitions: cranking it up to 11. In the front is the iO logo.

We're having a CSS and UI special at devs.gent and we're starting off with @bram.us who will be cranking view transitions to 11

2 weeks ago 2 0 0 1
Preview
Abusing Customizable Selects | CSS-Tricks Let’s go over a few demos using the new customizable <select> feature that may be wild, but also give us a great chance to learn new things in CSS.

A lovely article by @patrickbrosset.com wouldn't call it abusing tho πŸ˜‚ I think I've made some worse experiences with the feature. css-tricks.com/abusing-cust...

2 weeks ago 2 0 0 0

Those custom properties are still some leftovers from the previous version, which I mentioned in the article. I didn't start from scratch. πŸ˜… not perfect yet, but getting closer. Fixing the layer already tho ;) small oversight while moving things around.

2 weeks ago 1 0 0 2

πŸ˜… I might just do that.

2 weeks ago 0 0 0 0
Preview
Under the hood: a closer look at the CSS architecture behind the redesign | utilitybend A deep dive into the CSS architecture behind utilitybend.com: cascade layers, a three-tier design token system, light-dark() for dark mode, a modern reset, container queries, logical properties, and p...

πŸš€ A little while ago, I released an article on my blog redesign as a progressive enhancement. A few people DM'd me after that, asking for more info on the architecture. Well, it sure isn't perfect, and I'll surely tinker more on it, but I wrote about how I did the new CSS Architecture πŸ€“

2 weeks ago 19 4 2 0
Advanced Range Input Component

The <rangegroup> POC now works with wishfull code examples! sweet xD brechtdr.github.io/enhanced-ran...

2 weeks ago 5 1 0 0
Advertisement
Post image Post image Post image Post image

Try the latest <color-input> concept:

βš“οΈ anchor() progressive enhancement
πŸ€– workers for color compute
πŸ™ˆ new animations & interactions
🎨 gamut boundaries, mapping, stretching
☯️ contrast scores
& much more

nerdy.dev/rfc-latest-c...

2 weeks ago 86 13 7 2

Been rocking with a Lumix gx80 four thirds camera for a day. Lovely little "on the road" camera 😊

3 weeks ago 0 0 0 2
Preview
Astro: How to Set Up More Powerful HTML Minification (in 31 Seconds) On improving HTML as well as CSS, JS, and SVG minification in Astro projects.

Astro: How to Set Up More Powerful HTML Minification (in 31 Seconds):

On improving HTML as well as CSS, JS, and SVG minification in Astro projects.

3 weeks ago 2 2 0 0

I've been waiting for _years_ on this feature.

Thank you Kevin for taking this one on, working with the CSS WG along the way, and congrats on shipping! πŸ‘

(Next up: nudge Firefox and Safari to add this as well …)

4 weeks ago 33 4 1 0
Preview
una.im | Automated Accessible Text with contrast-color() Let the browser pick the most readable text color for any background with this new CSS function.

contrast-color() is landing in Chrome 147, making it Baseline Newly Available in all modern browsers

It takes any color value and returns either black or white: whichever provides the highest contrast against the input

Works great with generated colors, state changes, etc.

una.im/contrast-color

4 weeks ago 65 14 3 2
Top of projector screen with text : Front Side

Top of projector screen with text : Front Side

This is clearly a front-end event. (The top of the projector states it)

4 weeks ago 4 0 0 0
Claudia introducing the fronteers meetup.  Some people in front.

Claudia introducing the fronteers meetup. Some people in front.

I was fashionably late, but happy to be at a @fronteers.bsky.social meetup again in Ghent.

4 weeks ago 2 1 0 0

πŸš€ I wrote a thing! on the progressive enhancement wagon once again. 😎

What the CSS corner-shape property unlocks for every day UI β›Ά
It's not the first time I write about this feature... But it needed a design perspective. Seem like "I'm in love with corner-shape of you":

#frontend #css #ui #ux

4 weeks ago 7 1 0 1
Advertisement

DevTools never ceases to amaze me. Today I discovered the sensors tab to mimic timestamps in the US... Never really needed it before, but today I did, and I'm happy it's there πŸ‘Œ #chrome #devtools

1 month ago 3 1 0 0

Ah! Another beautiful day teaching machines how to do my job by writing markdown files. β™₯️

1 month ago 5 0 0 0
Preview
Putting my money where my mouth is: a redesign built on progressive enhancement | utilitybend A look at how utilitybend.com was redesigned using progressive enhancement with modern CSS features like view transitions, corner-shape, @property, scroll-state queries, and anchor positioning.

There is a bit of info on it in my last article, there really isn't much more to it. Or do you mean go more in depth? utilitybend.com/blog/putting...

1 month ago 1 1 1 0

Help me out:

I’m looking for examples / use-cases where you want to trigger an action _after_ a programmatic scroll(*) finished.

No need for an actual demo; a description of the use-case itself is good enough.

(*) Things such as `Element.scrollIntoView()` or `window.scrollTo()`.

1 month ago 5 3 11 0
Wide Golf course with a lake on the left side in the mist

Wide Golf course with a lake on the left side in the mist

Beautiful morning at the golf course.

1 month ago 1 0 0 0