.schedule-container { display: flex; padding: 0 20px; } .schedule-time-line { width: 80px; height: 720px; display: flex; flex-direction: column; justify-content: space-between; } .schedule-item-line { height: 720px; width: 150px; border-left: 1px solid #ccc; position: relative; } .schedule-item { background: #1caaaa; height:80px; display: flex; flex-direction: column; justify-content: center; align-items: center; color: #fff; } .schedule-date-container { padding-left: 100px; height: 30px; line-height: 30px; } .schedule-date { width: 150px; text-align: center; }