#CSSAnchorPositioning

2025-04-28

Seems this is a browser bug (but Edge stable and Safari TP both have the same issue) or maybe I don't understand `position-area` right, but if you use CSSOM to set multiple values to `position-area` with one of them being `span-all`, `span-all` would be ignored/removed. #CSS #CSSOM #CSSAnchorPositioning

codepen.io/marchbox/pres/wBBry

westbrookwestbrook
2025-01-20

Oh man, how can we get browsers to ship ? is saving JS once again and we need to make this possible in all browsers!!!

& where you at?

kaiserkiwi :kiwibird:kaiserkiwi@corteximplant.com
2024-12-15

CSS Anchor positioning sucked the fun out of development for me currently.

No idea why position-try-fallbacks isn't working and I'm too exhausted to find out.

Maybe in a few weeks or month there are resources that show reasons why it gets ignored. But for now I have no energy left to fight with this.

I guess development on Questlog is paused for the rest of the year. An easy and quick addition was supposed to make it easier to use. But I've spent so much time on this small "feature" already that I just have no energy left for anything other.

Sorry for everyone that is still waiting for better Reviews and other bigger featuresโ€ฆ

#Coding #WebDev #CSS #CSSAnchorPositioning

kaiserkiwi :kiwibird:kaiserkiwi@corteximplant.com
2024-12-14

Wanted to play around with #CSSAnchorPositioning. Everything works in Chrome but the Polyfill just positions every element in the top left in Safari and Firefox.

Bummerโ€ฆ So I probably won't try this the next two years again and still fight this challenge with JavaScript.

Really wanted this to work, but for such a small thing (that is solved with JavaScript for years) that's just too much work yet.

#WebDev #Coding #CSS

pablolarahpablolarah
2024-11-20

๐Ÿ’ฌ Popping Comments With CSS Anchor Positioning and View-Driven Animations

by Juan Diego Rodrรญguez @monknow_dev
at @csstricks

css-tricks.com/popping-comment

Red text: Popping Comments With 
Green text: CSS Anchor Positioning and View-Driven Animations.
Background pink
westbrookwestbrook
2024-11-20

@jamessw Wow, that's nuts! When are we getting this in and browsers?

Love the work going into the polyfill here, but it sure as heck isn't _quick_ for this sort of awesome use case.

westbrookwestbrook
2024-11-19

@kizu CSS Anchor positioning, please and thank you!

๐Ÿ™ ๐Ÿ™‡ ๐Ÿ‘ผ

westbrookwestbrook
2024-10-02

@jensimmons Would love it if I could use caniuse.com/css-overflow-anchor cross browser. More advanced scroll layouts really get slick with this added and it's too bad the way this needs to be polyfilled with JS to work in .

westbrookwestbrook
2024-09-04

Living on the double edge with this API lately. Cool to see the APIs getting closer, but the today is `position-anchor`, yesterday it's `inset-area`, tomorrow it's something else is a bit dizzying when you're hopping back and forth between 6+ Chromium variants for testing and developments. ๐Ÿซ  ๐ŸŒ€ ๐Ÿ˜ตโ€๐Ÿ’ซ

westbrookwestbrook
2024-09-04

@csswg Do we really not got to transform anchored content like this? ๐Ÿ˜ฑ ๐Ÿ˜ญ

issues.chromium.org/issues/364

Seems like a great use case for anchored content would be to call attention to it by pulsing via scale or shaking via translate or what not. Right? ๐Ÿค” ๐Ÿคทโ€โ™‚๏ธ

westbrookwestbrook
2024-09-03

@kizu Caught an interesting bug here... seems that a parent with "transform" related styling will confused "position-anchor" resolution. ๐Ÿ›

issues.chromium.org/issues/364

If you'd love this to be fixed too, remember to add your "+1" to support Chromium Devs in understanding the priority of issues like these. ๐Ÿ™‡

westbrookwestbrook
2024-08-28

Hey friends! Looking at CSS Anchor Positioning... I've got an arrow on a tooltip, what's the path to _knowing_ which `position-try-fallbacks` is actually being leveraged to ensure the tooltip is displayed correctly?

westbrookwestbrook
2024-07-09

I should be able to make codepen.io/Westbrook/pen/wvLBw look like codepen.io/Westbrook/pen/QWXwW even though the earlier uses `position: fixed` and the later does not, right? :thinkhappy:

westbrookwestbrook
2024-06-25

Now that CSS Anchor Positioning allows us to "name a reference" in CSS, do we need being able to consume the value of `:nth-child` or similar when naming things?

Something like:

a {
anchor-name: --link-${indexOf};
}

So we could anchor to ANY `<a>` on a page without needing to explicitly give each one of those an `anchor-name`?

I don't much know the View Transitions API, but maybe it could benefit from similar?

pablolarahpablolarah
2024-06-03

๐Ÿ”ตโšช๏ธ Letโ€™s hang! An intro to CSS Anchor Positioning with basic examples
by Brecht De Ruyte
@utilitybend @utilitybend

utilitybend.com/blog/lets-hang

White and black text on blue background:
Letโ€™s hang! 
An intro to CSS Anchor Positioning 
with basic examples
๐Ÿงฟ๐Ÿชฌ๐Ÿ„๐ŸŒˆ๐ŸŽฎ๐Ÿ’ป๐Ÿšฒ๐Ÿฅ“๐ŸŽƒ๐Ÿ’€๐Ÿด๐Ÿ›ป๐Ÿ‡บ๐Ÿ‡ธschizanon
2024-05-21

> The is a game-changer in because it lets you natively position elements relative to other elements, known as anchors. This API simplifies complex requirements for many interface features like menus and submenus, tooltips, selects, labels, cards, settings dialogs, and many more.

developer.chrome.com/blog/anch

pablolarahpablolarah
2024-04-11

๐ŸŸฆ Drawing a Line to Connect Elements with CSS Anchor Positioning
by Silvestar Bistroviฤ‡ @malimirkeccita
at @FrontendMasters

frontendmasters.com/blog/drawi

White text on blue background:
 Drawing a Line to Connect Elements with CSS Anchor Positioning

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst