But `:not(:granted)` _is_ `:denied`.
```
geolocation {
/* Shared */
&:granted {
/* Styles when granted */
}
&:not(&:granted) {
/* Styles when denied */
}
}
```
But `:not(:granted)` _is_ `:denied`.
```
geolocation {
/* Shared */
&:granted {
/* Styles when granted */
}
&:not(&:granted) {
/* Styles when denied */
}
}
```
The Big Gotcha of Anchor Positioning
As it stands, you have to think about the layout engine and whether an element is "fully laid out" before an anchor is allowed to apply to it. Boooooo.
For the βnot grantedβ styling you can use the `:not()` selector: `&:not(:granted)`
Open UI has been working on speccing out the focusgroup attribute: a declarative way to support roving focus & add keyboard nav to composite widgets like toolbars/menus
We'd love your feedback!
Learn more & see open questions: developer.chrome.com/blog/focusgr...
H/t to Edge folks for prototyping
π₯π
βThereβs also a sister methodβ¦β
I guessed `.rar()`. I was wrong.
w3c.github.io/csswg-wiki/i....
> # Incomplete List of Mistakes in the Design of CSS
>
> * β¦
> * `border-radius` should have been `corner-radius`.
> * β¦
This is AMAZING!
Very nicely done, and GREAT to see so many new/recent technologies being used to achieve this β all with a PE mindset approach.
βοΈβοΈβοΈβοΈβοΈ 5/5
π I always talk a big gameβ¦ βyou can do this as a progressive enhancement.β Time to put my money where my mouth is! πΈ
In recent months, Iβve updated my site with a range of new features. It is rock-solid across all modern browsers and is finally live! With a story π:
When in doubt, just say βIteratorableβ.
Brilliant! π€£
No clue, but it seems to be consistent across browsers β¦
Chrome is moving to a 2-week release schedule!
(previously 4 weeks)
developer.chrome.com/blog/chrome-...
Photo of Roy of the Ravers's album "2 Late 4 Love" (ACIWAX 90) featuring the stellar track "Emotinium".
A bit too much of that goa/psy-like sound for my liking TBH.
Winging back to the 303: look at this beautiful new record I picked up in London just last weekend β¦ π
album.link/i/1677881270
Classic π
** pumps fist in the air **
Related: When installing a fullscreen PWA (with `viewport-fit=cover`) on Android it β¦ does not go fullscreen (π€¦ββοΈ)
π You might want to give issues.chromium.org/issues/40742... an upvote if you, like me, would like to see that changed.
Fronteers Belgium meetup on 12/03/26 at the offices of Craftzing in Ghent Guest talks from: - Iben Van de Veire on Virtual DOM vs ChangeDetection, keeping your view up to date - Karel De Smet on Your password has been breached!
Join us for the Fronteers Belgium relaunchπ!
Itβs going to be an evening packed with knowledge, connection, and a few surprises. ππΏ
Grab your spot and join your fellow developers for a night of learning
π www.meetup.com/fronteers-be...
#fronteersBelgium #BeTech #frontendmeetup
When I was building the search engine for my blog, one feature I wanted to implement was syntax highlighting within the search input field. I wanted special operators (i.e.
[...]
`position: fixed` can fix most of these.
Also see Temani's article he's already shared.
On my way back home from #SotB2026 I hacked my way into animating between `position-area` values with View Transitions.
Demo + details can be found on my blog: www.bram.us/2026/03/02/a...
Itβs not 100% perfect though, as Firefox doesnβt do anything and Chrome has a 1-frame glitch.
Deal!
Dude, and you couldn't drop a small hint this weekend? Congrats! π₯³π
I should do some small screen enhancements next. But I was able to update my multi-thumb range sliders with code samples showing how I vision HTML, styling and custom JS for native workings.
Should probably write an update on it soon. brechtdr.github.io/enhanced-ran...
Screenshot of Safari 26.4 beta.
interop-2022-viewport.netlify.app/individual/s...
The viewport should extend to the top and bottom edges of the screen here, allowing the lime lines to be placed against those edges.
It seems we can now customize the select element, right? right?!
Demo: codepen.io/t_afif/pen/P... via @codepen.io
Don't miss the Devs.gent CSS & UI #meetup later this month! π Weβre diving deep into View Transitions with @bram.us , and Iβll be taking the stage to experiment with some new ideas. Itβs an opportunity to learn great things and to witness me tripping over some words π www.meetup.com/devs-gent/ev...
I think you could also play with `animation-range` and set it to `0px 1px` for example so that you can drop the magic percentages in the keyframes and just have them go from 0% to 100% (over a scroll distance of 1px).
Great article!
FYI: To give the bottom part a color, I noticed the magic value is 4px (instead of 6px).
If only Safari supported `viewport-fit=cover` in Portrait Mode on iOS. The combo with the safe-area insets gives you full control over which colors to use where.
(For completeness: They support `viewport-fit=cover` in Landscape mode on iOS. And on iPadOS they do nothing but the cover behavior)