Spaces:
Running
Running
Jae-Won Chung
commited on
Commit
•
8cf1cb0
1
Parent(s):
68a9e7e
Make blinking more widely compatible
Browse files
app.py
CHANGED
@@ -332,10 +332,19 @@ table th:first-child {
|
|
332 |
border-color: #23d175;
|
333 |
}
|
334 |
}
|
335 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
336 |
.model-name-text {
|
337 |
border: 2px solid transparent; /* Transparent border initially */
|
338 |
animation: blink 3s ease-in-out 1; /* One complete cycle of animation, lasting 3 seconds */
|
|
|
339 |
}
|
340 |
"""
|
341 |
|
|
|
332 |
border-color: #23d175;
|
333 |
}
|
334 |
}
|
335 |
+
/* Older browser compatibility */
|
336 |
+
@-webkit-keyframes blink {
|
337 |
+
0%, 33%, 67%, 100% {
|
338 |
+
border-color: transparent;
|
339 |
+
}
|
340 |
+
17%, 50%, 83% {
|
341 |
+
border-color: #23d175;
|
342 |
+
}
|
343 |
+
}
|
344 |
.model-name-text {
|
345 |
border: 2px solid transparent; /* Transparent border initially */
|
346 |
animation: blink 3s ease-in-out 1; /* One complete cycle of animation, lasting 3 seconds */
|
347 |
+
-webkit-animation: blink 3s ease-in-out 1; /* Older browser compatibility */
|
348 |
}
|
349 |
"""
|
350 |
|