kms7530 commited on
Commit
9ee17b7
·
verified ·
1 Parent(s): a1b5c67

Set the competitor's duration to 1.2 seconds for the entire sequence, and set our portion to 0.3 seconds. The competitor's color is red, and our portion is green.

Browse files
Files changed (1) hide show
  1. index.html +3 -5
index.html CHANGED
@@ -102,11 +102,9 @@
102
  </div>
103
  <div class="h-2 bg-gray-200 rounded-full overflow-hidden">
104
  <div class="relative h-full">
105
- <div class="absolute h-full bg-gray-300 rounded-full" style="width: 100%"></div>
106
- <div class="absolute h-full bg-primary rounded-full" style="width: 25%"></div>
107
- <div class="absolute h-full bg-secondary rounded-full" style="width: 25%"></div>
108
- <div class="absolute h-full bg-primary rounded-full" style="left: 25%; width: 5%"></div>
109
- </div>
110
  </div>
111
  <div class="flex justify-between text-xs text-gray-500">
112
  <span>Competitors: 1.2s</span>
 
102
  </div>
103
  <div class="h-2 bg-gray-200 rounded-full overflow-hidden">
104
  <div class="relative h-full">
105
+ <div class="absolute h-full bg-red-500 rounded-full" style="width: 100%"></div>
106
+ <div class="absolute h-full bg-green-500 rounded-full" style="left: 75%; width: 25%"></div>
107
+ </div>
 
 
108
  </div>
109
  <div class="flex justify-between text-xs text-gray-500">
110
  <span>Competitors: 1.2s</span>