einarpersson
einarpersson
Explore posts from servers
KPCKevin Powell - Community
Created by einarpersson on 9/29/2023 in #front-end
Struggling with the new view transitions API
Specifying a height solved it, but I don't reaally understand why and how this cannot be mentioned anywhere. The docs really need more basic examples and pitfalls...
::view-transition-old(box),
::view-transition-new(box) {
animation-duration: 1s;
height: 100%;
}
::view-transition-old(box),
::view-transition-new(box) {
animation-duration: 1s;
height: 100%;
}
4 replies
KPCKevin Powell - Community
Created by einarpersson on 9/29/2023 in #front-end
Struggling with the new view transitions API
No description
4 replies
KPCKevin Powell - Community
Created by einarpersson on 9/29/2023 in #front-end
Struggling with the new view transitions API
Okey, now I'm starting to understand the problem. I am able to do what I want for normal transitions. But for the ::view-transitions I am not able to replay it.
4 replies