| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- // 动画|渐显
- .vci-amt-fade-flow-ltr {
- mask-image: linear-gradient(-90deg, transparent, #fff 50%, #fff);
- mask-mode: alpha;
- mask-repeat: no-repeat;
- mask-size: 200% 100%;
- mask-position: 200% 0;
- animation: amtIsModuleLtr 1s 1 both ease-in-out;
- @keyframes amtIsModuleLtr {
- from {
- mask-position: 200% 0;
- }
- to {
- mask-position: 0 0;
- }
- }
- }
- .vci-amt-fade-flow-rtl {
- mask-image: linear-gradient(90deg, transparent, #fff 50%, #fff);
- mask-mode: alpha;
- mask-repeat: no-repeat;
- mask-size: 200% 100%;
- mask-position: -100% 0;
- animation: amtIsModuleRtl 1s 1 both ease-in-out;
- @keyframes amtIsModuleRtl {
- from {
- mask-position: -100% 0;
- }
- to {
- mask-position: 100% 0;
- }
- }
- }
- .vci-amt-fade-flow-btt {
- mask-image: linear-gradient(180deg, transparent, #fff 50%, #fff);
- mask-mode: alpha;
- mask-repeat: no-repeat;
- mask-size: 100% 200%;
- mask-position: 0 -100%;
- animation: amtIsModuleBtt 1s 1 both ease-in-out;
- @keyframes amtIsModuleBtt {
- from {
- mask-position: 0 -100%;
- }
- to {
- mask-position: 0 100%;
- }
- }
- }
|