Znfeoqm commited on
Commit
ccfae33
·
verified ·
1 Parent(s): f11b81e

Update src/index.css

Browse files
Files changed (1) hide show
  1. src/index.css +11 -10
src/index.css CHANGED
@@ -74,19 +74,20 @@
74
  }
75
 
76
  /* Scan line effect for QR preview */
77
- @keyframes scan-light {
78
- 0% {
79
- transform: translateX(-100%);
80
- }
81
- 100% {
82
- transform: translateX(100%);
83
- }
84
  }
85
  .scan-line {
86
- background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
 
 
87
  width: 100%;
88
- height: 2px;
89
- animation: scan-light 3s infinite linear;
 
 
90
  }
91
 
92
  /* Custom scrollbar styles */
 
74
  }
75
 
76
  /* Scan line effect for QR preview */
77
+ @keyframes scan {
78
+ 0% { top: 0%; }
79
+ 50% { top: calc(100% - 5px); }
80
+ 100% { top: 0%; }
 
 
 
81
  }
82
  .scan-line {
83
+ position: absolute;
84
+ top: 0;
85
+ left: 0;
86
  width: 100%;
87
+ height: 5px;
88
+ background: linear-gradient(to right, transparent, rgba(0, 255, 255, 0.8), transparent);
89
+ animation: scan 3s infinite linear;
90
+ transform-origin: top;
91
  }
92
 
93
  /* Custom scrollbar styles */