Загрузка видео...
Не удалось загрузить видео
CSS picture-in-picture video transition using container queries + position: sticky 🧑🍳 .container { container-type: scroll-state; } @container scroll-state(stuck: top) { video { translate: calc(50vw - 100%) calc(100vh - 100%); } }
138,071 просмотров • 1 год назад •via X (Twitter)
Комментарии: 10

Serhii Bedrytskyi1 год назад
So awesome. Will share this in course?

Guillermo Avalos1 год назад
Very cool, but AFAIK this won’t work at all in Safari

Robertus1 год назад
What do you do when you need to support garbage like Safari as well that don't have full support of container queries?

Jeremy Cameron1 год назад
So smooth

Swati Awasthi1 год назад
This is slick! Love how container queries are unlocking new creative transitions like this. Definitely stealing this for my next UI experiment!

Abhay Rahul 🇳🇵1 год назад
Do you have a timeline in mind for the launch?

etcetra1 год назад
Smooth work. And What's this config panel?🤔

Alfon1 год назад
Wow! And its baseline!

Aryan🥝 #Diversion2k251 год назад
Hey I always wonder what is this tool that you use?

Nir Galon1 год назад
I always get impressed with your posts 💪
