JSFiddle - React, Tailwind, and code Playground

by ian_smithz

HTML

<div id="ajaxContent" style="display: block;">
        
        <div id="all-content">
        
  <!-- home content -->
        
<!-- container for 2 x 1x1 -->
<div class="container-2x1">


        
        <a id="homeLink" href="#home">
        <div class="box-1x1 fuschia-bg">
            
            <div id="logoScroll" style="position: relative; overflow: hidden;">
            
                <div class="fuschia-bg logo" style="position: absolute; top: -150px; left: 0px; display: none; z-index: 3; opacity: 1; width: 150px; height: 150px;">
                
                </div>
            
                <div class="fuschia-bg logo-text" style="position: absolute; top: -150px; left: 0px; display: none; z-index: 3; opacity: 1; width: 150px; height: 150px;">
                    
                </div>
            
                <div class="fuschia-bg home" style="position: absolute; top: 0px; left: 0px; display: block; z-index: 4; opacity: 1; width: 150px; height: 150px;">
                    
                <h4>Home</h4>
                </div>
            
            </div>
            <!-- end logoscroll -->
            
         </div>
         </a>
            
     
          
            
            <a id="contactLink" href="#contact">
            <div class="box-1x1 blue-bg no-bottom-margin contact">
                
                <div class="email"> </div>
                <div class="facebook"> </div>
                <div class="twitter"> </div>
                
                <h4>Contact</h4>
                <div class="fold"></div>
            </div>
            </a>



</div>
<!-- end container for 2 x 1x1 -->
<div class="container-2x1">

            <a id="careersLink" href="#careers">
            <div class="box-1x1 white-bg careers-sm">
                <h4>Careers</h4>
                <div class="fold"></div>
            </div>
            </a>
            
            
         
          
         <a id="caseLink"...

CSS

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}





/*==============================
 STYLES
==============================*/
body, input {
color:#004963;
font-family: "Tahoma","Verdana","sans-serif";
font-size: 62.5%;
}


body {background:#004964 url('../img/body-bg-grad.jpg') repeat-x left top;}    

img {border: 0 none}

a {color:inherit; text-decoration:underline;}
a:hover {text-decoration:underline;}
a:visited {color:inherit;}

a:focus {outline: thin dotted #333333; outline-offset: -2px;}
a:hover, a:active {outline: 0 none;}


.clearfix {
}
.clearfix:before, .clearfix:after {
    content: "";
    display: table;
}
.clearfix:after {
    clear: both;
}

html {
    font-size: 100%;
}

input::-moz-focus-inner { border: 0; padding: 0;} /*Remove button padding in FF*/



#all-content {
width: 942px; height:471px; margin: 0 auto; margin-top: 5%;}


/* page fold - reverse colours in uitabs.css as...

JavaScript

$("#all-content").hide().fadeIn(1000).animate({height:1000}).load("home.html");