Skip to content

Commit 80e299f

Browse files
committed
Smooth out the progress bar.
Version 1, just add a small transition.
1 parent d040aae commit 80e299f

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

resources/public/index.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@
3636
padding: 20px;
3737
}
3838

39+
.progress {
40+
transition: width 1s linear 0s;
41+
}
42+
3943
.logo {
4044
float: right;
4145
color: #fff;
@@ -134,7 +138,7 @@
134138
<div id="header"><p>Mozilla Toronto Transit Board</p></div>
135139

136140
<div ng-show="focus">
137-
<timer progress="{{progress}}"></timer>
141+
<timer class="progress" progress="{{progress}}"></timer>
138142
<div class="prediction" ng-repeat="line in lines">
139143
<h1><span class="route">{{line.route}}</span> <span class="direction">{{line.direction}}</span> <span class="name"><span class="stop">{{line.stopName}}</span> <br> {{line.name}}</span>
140144
<ul class="timelist">

0 commit comments

Comments
 (0)