Edit in JSFiddle

#body{
  width:100%;
}
.tab-wrapper{
    width: 100%;
    overflow-x: scroll;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    font-family: sans-serif;
}
.tab-wrapper .tab-item,
.tab-wrapper input{display: none;}
.tab-wrapper .tab-item{
    background-color: #fff;
    width: calc(100% - 40px);
    max-width: 100%;
    padding: 20px;
    order: 1;
  }
.tab-wrapper label{
    background-color: #e6e6e6;
    height: 35px;
    line-height: 35px;
    min-width: 50px;
    padding: 0px 20px;
    text-align: center;
    float: left;
    color: #878685;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    border-right: 1px solid #c7c7c7;
}

.tab-wrapper input:checked + label{
  background-color: #fff;
}
.tab-wrapper input:checked + label + .tab-item{display: block;}
<div id="body">
  <div class="tab-container">
    <div class="tab-wrapper">
        <input type="radio" name="tab" id="tab1" checked />
        <label class="tab-label" for="tab1" nth="1">Вкладка 1</label>
        <div class="tab-item" id="tab-content1">
        Why do we use it?
It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
        </div>

        <input type="radio" name="tab" id="tab2" />
        <label class="tab-label" for="tab2" nth="2">Длинный заголовок</label>
        <div class="tab-item" id="tab-content2">
It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
        </div>

        <input type="radio" name="tab" id="tab3" />
        <label class="tab-label" for="tab3" nth="3">Вкладка 3</label>
        <div class="tab-item" id="tab-content3">
Why do we use it?
It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English.
        </div>

        <input type="radio" name="tab" id="tab4" />
        <label class="tab-label" for="tab4" nth="4">tab4</label>
        <div class="tab-item" id="tab-content4">
          Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).
        </div>

        <input type="radio" name="tab" id="tab5" />
        <label class="tab-label" for="tab5" nth="5">tab5</label>
        <div class="tab-item" id="tab-content5">
          Where can I get some?
There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable.
        </div>
    </div>
  </div>
  
  <br/>
    <br/>
         <div>
          Where can I get some?
There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable.
        </div>
  
  
</div>