JSFiddle - React, Tailwind, and code Playground

by Fransiskus Fallo

HTML

<style type="text/css">
#badan {width: 355px;margin: 3px;padding: 5px;background: url(https://lh5.googleusercontent.com/_QeIxO28ukBc/Tb_dEgDHi7I/AAAAAAAAAeU/qs2r9pSkI1s/buku4.png);overflow: hidden; -moz-box-shadow: 2 4 4 #cccccc;
-webkit-box-shadow: 2 4 4 #cccccc;
-goog-ms-box-shadow: 2 4 4 #cccccc;
box-shadow: 2 4 4 #cccccc;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
-goog-ms-border-radius: 10px;
border-radius: 10px;}
div.TabView div.Tabs
{height: 30px;overflow: hidden;}
div.TabView div.Tabs a {float:left; font-size: 11px; display:block; width: 65px; /* lebar menu atas */
text-align:center ; height: 18px; /* tinggi menu atas */
padding-top:6px; padding-left: 2px; padding-right: 2px; border:1px inset #fff290; /* border menu atas */
text-decoration: none; font-family: "tahoma", Serif; /* Font Menu Utama Atas */
font-weight: normal; color: white; /* warna font menu atas */ -moz-box-shadow: 1 2 2 #000000;
-webkit-box-shadow: 1 2 2 #000000;
-goog-ms-box-shadow: 1 2 2 #000000;
box-shadow: 1 2 2 #000000;
-moz-border-radius: 15px;
-webkit-border-radius: 15px;
-goog-ms-border-radius: 15px;
border-radius: 15px;}
div.TabView div.Tabs a:hover, div.TabView div.Tabs a.Active -moz-box-shadow: 1 2 2 #000000;
-webkit-box-shadow: 1 2 2 #000000;
-goog-ms-box-shadow: 1 2 2 #000000;
box-shadow: 1 2 2 #000000;
-moz-border-radius: 15px;
-webkit-border-radius: 15px;
-goog-ms-border-radius: 15px;
border-radius: 15px;color: #000000;background: #fff290; /* background menu atas */ }
div.TabView div.Pages {clear:both; overflow:hidden; background:transparent; /* background isi */ }
div.TabView div.Pages div.Page {height:100%; padding:0px; overflow:hidden}
div.TabView div.Pages div.Page div.Pad {padding: 5px 5px}
</style>
<script type='text/javascript'>
//<![CDATA[
function tabview_aux(TabViewId, id)
{
var TabView = document.getElementById(TabViewId);
// ----- Tabs -----
var Tabs = TabView.firstChild;
while (Tabs.className != "Tabs" ) Tabs = Tabs.nextSibling;
var Tab =...