In boostrap 4.1 (run snippet because I copied whole table code from Bootstrap documentation):
.fixed_headers {_x000D_
width: 750px;_x000D_
table-layout: fixed;_x000D_
border-collapse: collapse;_x000D_
}_x000D_
.fixed_headers th {_x000D_
text-decoration: underline;_x000D_
}_x000D_
.fixed_headers th,_x000D_
.fixed_headers td {_x000D_
padding: 5px;_x000D_
text-align: left;_x000D_
}_x000D_
.fixed_headers td:nth-child(1),_x000D_
.fixed_headers th:nth-child(1) {_x000D_
min-width: 200px;_x000D_
}_x000D_
.fixed_headers td:nth-child(2),_x000D_
.fixed_headers th:nth-child(2) {_x000D_
min-width: 200px;_x000D_
}_x000D_
.fixed_headers td:nth-child(3),_x000D_
.fixed_headers th:nth-child(3) {_x000D_
width: 350px;_x000D_
}_x000D_
.fixed_headers thead {_x000D_
background-color: #333;_x000D_
color: #FDFDFD;_x000D_
}_x000D_
.fixed_headers thead tr {_x000D_
display: block;_x000D_
position: relative;_x000D_
}_x000D_
.fixed_headers tbody {_x000D_
display: block;_x000D_
overflow: auto;_x000D_
width: 100%;_x000D_
height: 300px;_x000D_
}_x000D_
.fixed_headers tbody tr:nth-child(even) {_x000D_
background-color: #DDD;_x000D_
}_x000D_
.old_ie_wrapper {_x000D_
height: 300px;_x000D_
width: 750px;_x000D_
overflow-x: hidden;_x000D_
overflow-y: auto;_x000D_
}_x000D_
.old_ie_wrapper tbody {_x000D_
height: auto;_x000D_
}
_x000D_
<table class="fixed_headers">_x000D_
<thead>_x000D_
<tr>_x000D_
<th>Screen Size</th>_x000D_
<th>Class</th>_x000D_
</tr>_x000D_
</thead>_x000D_
<tbody>_x000D_
<tr>_x000D_
<td>Hidden on all</td>_x000D_
<td><code class="highlighter-rouge">.d-none</code></td>_x000D_
</tr>_x000D_
<tr>_x000D_
<td>Hidden only on xs</td>_x000D_
<td><code class="highlighter-rouge">.d-none .d-sm-block</code></td>_x000D_
</tr>_x000D_
<tr>_x000D_
<td>Hidden only on sm</td>_x000D_
<td><code class="highlighter-rouge">.d-sm-none .d-md-block</code></td>_x000D_
</tr>_x000D_
<tr>_x000D_
<td>Hidden only on md</td>_x000D_
<td><code class="highlighter-rouge">.d-md-none .d-lg-block</code></td>_x000D_
</tr>_x000D_
<tr>_x000D_
<td>Hidden only on lg</td>_x000D_
<td><code class="highlighter-rouge">.d-lg-none .d-xl-block</code></td>_x000D_
</tr>_x000D_
<tr>_x000D_
<td>Hidden only on xl</td>_x000D_
<td><code class="highlighter-rouge">.d-xl-none</code></td>_x000D_
</tr>_x000D_
<tr>_x000D_
<td>Visible on all</td>_x000D_
<td><code class="highlighter-rouge">.d-block</code></td>_x000D_
</tr>_x000D_
<tr>_x000D_
<td>Visible only on xs</td>_x000D_
<td><code class="highlighter-rouge">.d-block .d-sm-none</code></td>_x000D_
</tr>_x000D_
<tr>_x000D_
<td>Visible only on sm</td>_x000D_
<td><code class="highlighter-rouge">.d-none .d-sm-block .d-md-none</code></td>_x000D_
</tr>_x000D_
<tr>_x000D_
<td>Visible only on md</td>_x000D_
<td><code class="highlighter-rouge">.d-none .d-md-block .d-lg-none</code></td>_x000D_
</tr>_x000D_
<tr>_x000D_
<td>Visible only on lg</td>_x000D_
<td><code class="highlighter-rouge">.d-none .d-lg-block .d-xl-none</code></td>_x000D_
</tr>_x000D_
<tr>_x000D_
<td>Visible only on xl</td>_x000D_
<td><code class="highlighter-rouge">.d-none .d-xl-block</code></td>_x000D_
</tr>_x000D_
</tbody>_x000D_
</table>
_x000D_
https://getbootstrap.com/docs/4.1/utilities/display/#hiding-elements