.content { display: flex; justify-content: space-around; align-items: center; height: 35px; } .right, .left { height: 100%; display: flex; border-radius: 20px; align-items: center; justify-content: space-between; border: 1px solid #ccc; display: flex; padding: 0px 5px; .unit { text-align: center; color: #666; } input { font-size: 14px; color: #333; } }