JSFiddle - React, Tailwind, and code Playground

by jasonwilczak

HTML

<table>
<tbody class="paginated">
  <tr><th>1</th></tr>
  <tr><th>2</th></tr>
  <tr><th>3</th></tr>
  <tr><th>4</th></tr>
  <tr><th>5</th></tr>
  <tr><th>6</th></tr>
  <tr><th>7</th></tr>
  <tr><th>8</th></tr>
  <tr><th>9</th></tr>
  <tr><th>10</th></tr>
</tbody>
</table>

CSS

.paginated tr:nth-child(n+6) {
    display:none;
  }