JSFiddle - React, Tailwind, and code Playground
by Vince Richter
HTML
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
body {
margin: 0;
font-size: 28px;
font-family: Arial, Helvetica, sans-serif;
user-select: none;
}
.subhead{
text-align: center;
border-bottom: 2px solid #2f2f2f;
border-top: 2px solid #2f2f2f;
padding: 12px 0 12px 0;
font-size: 17px;
}
*{
box-sizing:border-box;
}
.column {
float: left;
width: 33.3333333333%;
padding: 10px;
height: 300px;
font-size: 15px;
}
.column-1{
float: center;
width: 33.3333333333%;
padding: 10px;
height: 300px;
font-size: 15px;
display: inline-block;
}
.column-2{
float: right;
width: 33.3333333333%;
padding: 10px;
height: 300px;
font-size: 15px;
display: inline-block;
}
.row:after {
content: "";
display: table;
clear: both;
}
.header {
background-color: #f1f1f1;
padding: 30px;
text-align: center;
}
#navbar {
overflow: hidden;
background-color: #333;
}
#navbar a {
float: center;
display: block;
color: #f2f2f2;
text-align: center;
padding: 14px 16px;
text-decoration: none;
font-size: 17px;
}
#navbar a:hover {
background-color: #ddd;
color: black;
}
#navbar a.active {
background-color: #4CAF50;
color: white;
}
.content {
padding: 16px;
}
.sticky {
position: fixed;
top: 0;
width: 100%;
}
.sticky + .content {
padding-top: 60px;
}
</style>
</head>
<body>
<div id="navbar">
<a class="active" href="javascript:void(0)">Should Orcas be in Captivity</a>
</div>
<br>
<br>
<div class="subhead">
<strong>Orcas shouldn't be in Captivity</strong>
</div>
<br>
<div class="row">
<div class="column">
<p>
Orcas shouldn't be kept in captivity
</p>
<p>
because their life get's shortened.
</p>
<p>
Also because some body parts get
</p>
<p>
over time. And lastly because they
</p>
<p>
don't particapate in important life
task.</p>
<br>
<p>
To start off with, Orcas shouldn't
</p>
<p>
be in Captivity because their life
</p>
<p>
get...