Skip to content

Commit

Permalink
test: add test case for css keyframes
Browse files Browse the repository at this point in the history
  • Loading branch information
jmsjtu committed Jan 12, 2023
1 parent ed6f983 commit d9ca9e3
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
.fix-notify_toast_animation {
animation-name: fadeIn;
animation-duration: 0.4s;
}

@keyframes fadeIn {
0% {
opacity: 0;
}

100% {
opacity: 1;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"disableSyntheticShadowSupport": true
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
function stylesheet() {
var token;
var useActualHostSelector = true;
var useNativeDirPseudoclass = true;
var shadowSelector = token ? ("[" + token + "]") : "";
var hostSelector = token ? ("[" + token + "-host]") : "";
return ".fix-notify_toast_animation" + shadowSelector + " {animation-name: fadeIn" + (shadowSelector ? ('-' + shadowSelector.substring(1, shadowSelector.length - 1)) : '') + ";animation-duration: 0.4s;}@keyframes fadeIn" + (shadowSelector ? ('-' + shadowSelector.substring(1, shadowSelector.length - 1)) : '') + " {0% {opacity: 0;}100% {opacity: 1;}}";
/*LWC compiler vX.X.X*/
}
export default [stylesheet];

0 comments on commit d9ca9e3

Please sign in to comment.