Things I want to do

In order to display a long table horizontally on a smartphone,
The left column is fixed, and jquery plugin is used for that purpose.

I have a nice display,
When a line break is inserted in a cell,
Fixed columns, variable columns, and
Height will be different.

Plug-in i am using


<! DOCTYPE html>
<html lang = "jp">
  <meta charset = "UTF-8">
  <meta name = "viewport" content = "width = device-width, initial-scale = 1.0">
  <meta http-equiv = "X-UA-Compatible" content = "ie = edge">
  <title>Table Test</title>
  <link rel = "stylesheet" href = "https://zurb.com/playground/projects/responsive-tables/responsive-tables.css">
table {
  border-collapse: collapse;
  border-spacing: 0;
td, th {
  border: 1px solid gray;
  <script src = "https://zurb.com/playground/projects/responsive-tables/javascripts/jquery.min.js"></script>
  <script src = "https://zurb.com/playground/projects/responsive-tables/responsive-tables.js"></script>
    <th>Header 1</th>
    <th>Header 2</th>
    <th>Header 3</th>
    <th>Header 4</th>
    <th>Header 5</th>
    <th>Header 6</th>
    <th>Header 7</th>
    <th>Header 8</th>
    <td>row 1, cell 1</td>
    <td>row 1, cell 2</td>
    <td>row 1, cell 3</td>
    <td>row 1, cell 4</td>
    <td>row 1, cell 5</td>
    <td>row 1, cell 6</td>
    <td>row 1, cell 7</td>
    <td>row 1, cell 8</td>
    <td>row 2, cell 1<br />line feed</td>
    <td>row 2, cell 2</td>
    <td>row 2, cell 3</td>
    <td>row 2, cell 4</td>
    <td>row 2, cell 5</td>
    <td>row 2, cell 6</td>
    <td>row 2, cell 7</td>
    <td>row 2, cell 8</td>
    <td>row 3, cell 1</td>
    <td>row 3, cell 2</td>
    <td>row 3, cell 3</td>
    <td>row 3, cell 4</td>
    <td>row 3, cell 5</td>
    <td>row 3, cell 6</td>
    <td>row 3, cell 7<br />line feed</td>
    <td>row 3, cell 8</td>
    <td>row 4, cell 1</td>
    <td>row 4, cell 2</td>
    <td>row 4, cell 3</td>
    <td>row 4, cell 4</td>
    <td>row 4, cell 5</td>
    <td>row 4, cell 6</td>
    <td>row 4, cell 7</td>
    <td>row 4, cell 8</td>

Code pen


I went hunting