JSFiddle - React, Tailwind, and code Playground

by justinwinter

HTML

<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
 @import url(https://fonts.googleapis.com/css?family=Muli);
 
 body {
 font-family: Muli, sans-serif;
 font-size: 16px;
 }
 
.accordion {
font-family: Muli, sans-serif;
 font-size: 16px;
  background-color: #007ACC;
  color: white;
  font-weight: bold;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  transition: 0.4s;
}

.active, .accordion:hover {
  background-color: #ccc; 
  color: #007acc;
}

.accordion:after {
  content: '\002B';
  color: white;
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

.active:after {
  content: "\2212";
  color: #007ACC;
}

div.panel {
    display: none;
}

div.panel.show {
    display: block !important;
}

table {
  font-family: Muli, sans-serif;
  border-collapse: collapse;
  width: 100%;
}

td, th {
  border: 1px solid #dddddd;
  text-align: left;
  padding: 8px;
}

tr:nth-child(even) {
  background-color: #cccccc;
}

nt {
font-size: 14px;
font-family: Muli, sans-serif;
font-style: italic;
}

</style>
</head>
<body>

<button class="accordion">Enrollment for New Employees</button>
<div class="panel"><br>
<table>
<tr>
<th>Enrollment for New Employees</th>
<th>Description</th>
<th>Purpose/Use</th>
</tr>

<tr>
<td>Health Enrollment/Change Form</td>
<td>Health Plan</td>
<td>If you are an eligible new employee, experience a qualifying life event or desire to make a change during the open enrollment period you must submit this form and applicable supporting documents.*</td>
</tr>

<tr>
<td>Coordination of Benefits</td>
<td>Health Plan</td>
<td>If you are an eligible new employee, experience a qualifying life event or during the open enrollment period you must submit this form.</td>
</tr>

<tr>
<td>Flexible Benefits Plan Enrollment/Change Form</td>
<td>Flexible Benefits Plan</td>
<td>If you are an eligible new employee, experience a qualifying life...