JSFiddle - React, Tailwind, and code Playground

by rami7250

HTML

<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="profile" href="https://gmpg.org/xfn/11">

<title>mightytables.bioxd.com &#8211; Sorting, search, and filters for your tables</title>
<meta name='robots' content='max-image-preview:large' />
<link rel='dns-prefetch' href='//fonts.googleapis.com' />
<link rel='dns-prefetch' href='//s.w.org' />
<link rel="alternate" type="application/rss+xml" title="mightytables.bioxd.com &raquo; Feed" href="https://mightytables.bioxd.com/feed/" />
<link rel="alternate" type="application/rss+xml" title="mightytables.bioxd.com &raquo; Comments Feed" href="https://mightytables.bioxd.com/comments/feed/" />
		
		<style>
img.wp-smiley,
img.emoji {
	display: inline !important;
	border: none !important;
	box-shadow: none !important;
	height: 1em !important;
	width: 1em !important;
	margin: 0 .07em !important;
	vertical-align: -0.1em !important;
	background: none !important;
	padding: 0 !important;
}
</style>
	<link rel='stylesheet' id='astra-theme-css-css'  href='https://mightytables.bioxd.com/wp-content/themes/astra/assets/css/minified/style.min.css?ver=2.5.4' media='all' />

<link rel='stylesheet' id='astra-google-fonts-css'  href='//fonts.googleapis.com/css?family=Noto+Sans%3A400%7CMontserrat%3A700&#038;display=fallback&#038;ver=2.5.4' media='all' />
<link rel='stylesheet' id='astra-menu-animation-css'  href='https://mightytables.bioxd.com/wp-content/themes/astra/assets/css/minified/menu-animation.min.css?ver=2.5.4' media='all' />
<link rel='stylesheet' id='wp-block-library-css'  href='https://mightytables.bioxd.com/wp-includes/css/dist/block-library/style.min.css?ver=5.8.2' media='all' />
<!--[if IE]>
<script src='https://mightytables.bioxd.com/wp-content/themes/astra/assets/js/minified/flexibility.min.js?ver=2.5.4' id='astra-flexibility-js'></script>
<script id='astra-flexibility-js-after'>
flexibility(document.documentElement);
</script>
<![endif]-->
<link rel="https://api.w.org/"...

CSS

table.blueTable {
  border: 1px solid #1C6EA4;
  background-color: #EEEEEE;
  width: 100%;
  text-align: left;
  border-collapse: collapse;
}
table.blueTable td, table.blueTable th {
  border: 1px solid #AAAAAA;
  padding: 3px 2px;
}
table.blueTable tbody td {
  font-size: 13px;
}
table.blueTable tr:nth-child(even) {
  background: #D0E4F5;
}
table.blueTable thead {
  background: #1C6EA4;
  background: -moz-linear-gradient(top, #5592bb 0%, #327cad 66%, #1C6EA4 100%);
  background: -webkit-linear-gradient(top, #5592bb 0%, #327cad 66%, #1C6EA4 100%);
  background: linear-gradient(to bottom, #5592bb 0%, #327cad 66%, #1C6EA4 100%);
  border-bottom: 2px solid #444444;
}
table.blueTable thead th {
  font-size: 15px;
  font-weight: bold;
  color: #FFFFFF;
  border-left: 2px solid #D0E4F5;
}
table.blueTable thead th:first-child {
  border-left: none;
}