JSFiddle - React, Tailwind, and code Playground

by akang2

HTML

<html>
<header>
    <img src="https://edit.fogbugz.com/default.asp?pg=pgDownload&pgType=pgFile&ixBugEvent=1334&ixAttachment=95&sTicket=&sFileName=mont-logo.png" />
        <h1>The United States</h1>
        <h2>National Grant Organization</h2>
<nav>
    <ul>
        <li><a href="#" class="active first">Home</a></li>
        <li><a href="#">Longer Item</a></li>
        <li><a href="#">Reports</a></li>
        <li><a href="#">Staff</a></li>
        <li><a href="#">Grants</a></li>
    </ul>
</nav>
</header>

<section>
    <article>

<h1>Grant Generator</h1>

<h2>Preview Page Creation:</h2>
        
        <ul>
            <li><a href="#">Staff</a></li>
            <li><a href="#">members</a></li>
            <li><a href="#">third member</a></li>
            <li><a href="#">wooow</a></li>
            <li><a href="#"># 5</a></li>
        </ul>

<fieldset>
<p>
    <label for="id_text">Sample Label:</label>
    <input id="id_text" type="text" class="textInput" value="bleh">
</p>

<button type="button" name="" value="" class="css3button">Next</button>
</fieldset>
    </article>
</section>
</html>

CSS

body {
    font-family: helvetica, arial, sans-serif;
    color: #646464;
    font-size: 12px;
}

header {
    height: 240px;
    background: url('http://subtlepatterns.subtlepatterns.netdna-cdn.com/patterns/light_noise_diagonal.png') repeat;
}
    
header img {
    padding: 28px 5px 28px 35px;
}

header h1 {
    display: inline;
    font-size: 30px;
    vertical-align: 150px;
    font-family: times new roman, georgia, serif;
    font-style: italic;
    color: #f29324;
    margin: 0px;
}

header h2 {
    display: inline;
    font-size: 40px;
    vertical-align: 110px;
    font-variant: small-caps;
    margin: 0px;
    position: absolute;
    top: 90px;
    left: 230px;
    letter-spacing: -1px;
}

nav {
    /*width: 900px;*/
    height: 37px;
    padding: 6px 6px 6px 50px;
    margin: -100px 0 30px 125px;
    background: #eeeeee;
    border: 1px solid #b3b6b9;
}

nav ul {
    background: #f6f6f6;
    border: 1px solid #ddd;
    height: 37px;
}

nav li {
    float: left;
    height: 37px;
    border-right: 1px solid #ddd;
}

nav li a {
    display: block;
    float: left;
    height: 37px;
    font-weight: bold;
    line-height: 37px;
    text-decoration: none;
    color: #646464;
    padding: 0 20px;
    text-transform: uppercase;
}

nav li a:hover {
    background: #fdfcf6;
}

nav li a.active {
    background: -moz-linear-gradient(top, #ffffff 0%, #f6f6f6 70%, #e5e5e5 95%, #e5e5e5);
    background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), color-stop(0.70, #f6f6f6), color-stop(0.95, #e5e5e5), to(#e5e5e5));
    color: #454545;
}

nav li a.first {
    padding: 0px 20px 0px 55px;
}

section {
    width: 100%;
    background: #eeeeee;
    border: 1px solid #b3b6b9;
    margin: 10px;
}    

article {
    background: #f6f6f6;
    border: 1px solid #ddd;
    margin: 5px;
}

article h1 {
    font-size: 240%;
    border-bottom: 1px solid #ddd;
    margin: 10px 0 0 10px;
}

article h2 {
    font-size: 150%;
    margin: 10px 0 9px 15px;
    color:...

JavaScript

//montagable final css stuff