rearragne in this order arrival time then graph then name then departure <!DOCTYPE html>…
- User
rearragne in this order arrival time then graph then name then departure
.timeline { display: flex; flex-direction: column; position: relative; } .timeline::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; border-left: 4px solid #4C51BF; z-index: 1; } .station { position: relative; margin: 10px 0px; display: flex; align-items: center; } .station::before { content: ''; position: absolute; width: 16px; height: 16px; background-color: #fff; border: 4px solid #4C51BF; border-radius: 50%; left: 50%; transform: translateX(-40%); z-index: 2; } .station-time { padding: 5px 10px; background-color: #4C51BF; color: #fff; border-radius: 12px; white-space: nowrap; z-index: 3; } .station-name { padding: 5px 0; flex-grow: 1; text-align: right; padding-left: 20px; } .time-wrapper { display: flex; flex-direction: row; align-items: center; justify-content: space-between; z-index: 3; padding-right: 20px; width: 200px; }
.header-row { display: flex; justify-content: space-between; padding: 10px 0; font-weight: bold; }
- Assistant
- User
grpah is still in left
- Assistant