JSFiddle - React, Tailwind, and code Playground
by acid test
HTML
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name='viewport' content='width=device-width,initial-scale=1'>
<meta content='true' name='HandheldFriendly'>
<meta content='width' name='MobileOptimized'>
<meta content='yes' name='apple-mobile-web-app-capable'>
<title>title</title>
<style>
*, *:before, *:after {box-sizing: inherit;}
body {font-family: "Open Sans", sans-serif;line-height: 1.25;}
table {
border-collapse: collapse;
margin: 0;
padding: 0;
width: 100%;
}
table caption {
text-align: left;
font-size: 1.5em;
margin: .5em 0 .75em;
}
table tr {
border-left: 1px solid #ddd;
background: #f8f8f8;
}
table th, table td {
padding: 5px;
text-align: left;
border-right: 1px solid #ddd;
border-bottom: 1px solid #ddd;
}
table th {
background: #333;
color: #fff;
font-size: 12px;
letter-spacing: .1em;
text-transform: uppercase;
}
tr:nth-of-type(odd) {background: #eee;}
tbody td {
font-size: 11px;
letter-spacing: .1em;
text-transform: uppercase;
}
@media screen and (max-width: 762px) {
table {position: relative; border: 0;}
table caption {font-size: 1.3em;}
table thead {display: none;}
table tr {
width: 100%;
border: 1px solid #ddd;
display: block;
margin-bottom: .625em;
}
table td {
position:...