Anchor Is The Best New CSS Feature Since Flexbox

preview_player
Показать описание


🌎 Find Me Here:

#Shorts
Рекомендации по теме
Комментарии
Автор

This removes so much hassle which comes with relative position

shahid--md
Автор

Finally, a real "relative" positioning feature.

antoniorocha
Автор

For anyone wondering about browser support, this feature is still just a proposal, only chrome supports it as an experimental feature atm(not enabled by default)

raygong
Автор

FINALLY! I had been artificially replicating this using absolute and relative but it's such a pain in the arse. What a time save.

chillin
Автор

making hover popups with this might be a nice experience

rayaqin
Автор

This guy is single handedly carrying my career at this point

sohamsarkar
Автор

"works out of the box" I get it!

Kianfox
Автор

Why couldn't this feature come out 10 years ago 😢

garyduell
Автор

Golden knowledge Kyle, it's safe to say that every web-developer wil encounter a situation where this kind of "Relative" positioning is needed within their project.

TonyNieuwenhuijs
Автор

By the end, he says: "it just works out of the box", but actually, it also works within the box

napapt
Автор

This has the potential to entirely change how we structure pages. It could even allow us to return HTML to it's semantic roots...

ruudlaff
Автор

I searched for this kind of a feature many times. Now I have. Thanks

russellandrady
Автор

man, this help my project a lot... thanks

top_loserrr
Автор

It's great addition. QML has been doing this forever and extend it to include height, width etc

kierandansey
Автор

Literally just needed this the other day thanks

MaxPicAxe
Автор

Cool to have the functionality, but the css working group has once again come up with novel/exotic syntax that bears no resemblance to anything else in the spec and will never be repeated again. This lack of consistency and elegance is unfortunate for, you know, the thing that's supposed to lend consistency and elegance to the web.

TheRiteHand
Автор

Thats so freakin awesome. This removes like 3 tons of concentrated pain from css element positioning.

osraneslipy
Автор

I think it would be useful if we want to show tooltip for an element.

jamshediqbal
Автор

Every day we step closer to centering a div

scoobydoobies
Автор

for me it is very very wierd that anchor didnt existed in css for so many years, since begining of graphic design or animation or anything related to visuals, anchor exists in all the softwares, like photoshop after effects ETC, so they could just took an idea of anchor from them, as they did for positions, rotations ETC. idk this took so long to have in css :D

johndevnoza