<!DOCTYPE html>

<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>flex布局实现</title>
    <style type="text/css">
        body {
            margin: 0;    
        }        
        .container {    
            display: flex;
            flex-wrap: nowrap;    
            align-items: center;    
            justify-content: flex-start;
        }
        .left-text {
            text-align: left;
            text-overflow: ellipsis;
            overflow: hidden;
            white-space: nowrap;
       }
      .icon-container {    
           align-self: flex-end;        
       }
   </style>
</head>
<body>
<div class="container">
       <div class="left-text">这是左边的文字</div>
       <div class="icon-container">    
            <span>文字代替icon,宽度不固定</span>
            <span>文字代替icon,宽度不固定</span>
            <span>文字代替icon,宽度不固定</span>
            <span>文字代替icon,宽度不固定</span>
            <span>文字代替icon,宽度不固定</span>
            <span>文字代替icon,宽度不固定</span>
       </div>
</div>
</body>
</html>