File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010* {
1111 transition : color 0.15s , background-color 0.15s ;
1212}
13-
14- .roll-in , .roll-out {
15- animation-duration : 250ms ;
16- animation-timing-function : ease-out;
17- animation-fill-mode : forwards;
18- }
19-
20- .roll-in {
21- animation-name : roll-in;
22- }
23-
24- .roll-out {
25- animation-name : roll-out;
26- }
27-
28- @keyframes roll-in {
29- from {
30- transform : translateX (-40px ) rotate (-0.25turn );
31- }
32- to {
33- transform : translateX (0 ) rotate (0turn );
34- }
35- }
36-
37- @keyframes roll-out {
38- from {
39- transform : translateX (0 ) rotate (0turn );
40- }
41- to {
42- transform : translateX (-40px ) rotate (-0.25turn );
43- }
44- }
45-
Original file line number Diff line number Diff line change 8383 .hover-expand :hover {
8484 scale : 110% ;
8585 }
86+
87+ :global {
88+ .roll-in ,
89+ .roll-out {
90+ animation-duration : 250ms ;
91+ animation-timing-function : ease-out ;
92+ animation-fill-mode : forwards ;
93+ }
94+
95+ .roll-in {
96+ animation-name : roll-in;
97+ }
98+
99+ .roll-out {
100+ animation-name : roll-out;
101+ }
102+
103+ @keyframes roll-in {
104+ from {
105+ transform : translateX (-40px ) rotate (-0.25turn );
106+ }
107+ to {
108+ transform : translateX (0 ) rotate (0turn );
109+ }
110+ }
111+
112+ @keyframes roll-out {
113+ from {
114+ transform : translateX (0 ) rotate (0turn );
115+ }
116+ to {
117+ transform : translateX (-40px ) rotate (-0.25turn );
118+ }
119+ }
120+ }
86121 </style >
You can’t perform that action at this time.
0 commit comments