html, body { background: #F1F3F3; font-size: 14px; } .box { width: 100%; height: auto; box-sizing: border-box; background: white; font-size: 0; } .box_a,.box_b{ width: 100%; height: 70px; color: #3a3a3a; position: relative; display: flex; align-items: center; } .box_a>img,.box_b>img{ margin-left: 20px; } .box_a>span,.box_b>span{ margin-left: 8px; font-size: 18px; } .box_b{ border-top: 5px solid #F1F3F3; } .change{ position: absolute; white-space: nowrap; top: 0; height: 70px; width: 50px; right: 10px; display: flex; flex-wrap: nowrap; justify-content: space-between; align-items: center; } .change>span{ font-size: 14px; color: #adadad; } .change>img{ width: 10px; height: 15px; }