gpt4 book ai didi

css - Microsoft Edge 动画问题

转载 作者:行者123 更新时间:2023-11-28 03:07:35 32 4
gpt4 key购买 nike

只是好奇为什么这在 Edge 中不起作用。它适用于我检查过的所有其他浏览器。Edge 中是否存在导致此问题的错误?

仅供引用,这不是我的代码,只是好奇。

/**
* Animations
*/
@keyframes checkboxCheckedAnimation {
50%, 100% {
width: 100vw;
height: 100vh;
}
100% {
border-radius: 0;
}
}

@keyframes checkboxUncheckedAnimation {
0% {
width: 100vw;
height: 100vh;
}
}

@keyframes changeWidthOfElementAnimation {
50% {
width: 0;
}
100% {
width: 100%;
}
}

https://codepen.io/WispProxy/details/GqzoYg

最佳答案

不确定为什么会这样,但这确实有效。

   @keyframes checkboxCheckedAnimation {
50% {
width: 100vw;
height: 100vh;
}
100% {
border-radius: 0;
// Added these lines
width: 100vw;
height: 100vh;
}
}

关于css - Microsoft Edge 动画问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45870882/

32 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com