JSFiddle - React, Tailwind, and code Playground
by moshfeu
HTML
<div class="page-wrap" align="center">
<div id="banner">
<img src="../img/banner2.png" width="1024" height="173" longdesc="../index.php" alt=""/> </div>
<div id="navigation">
<?php include('../legendofgames/includes/navbar.php'); ?>
<div id="apDiv4">
<?php include('../legendofgames/includes/menu_cat.php'); ?>
</div>
<div id="fb-root"></div>
<div id="like">
<div class="fb-like-box" data-href="https://www.facebook.com/pages/Legend-of-Games/476628629090111" data-width="215" data-show-faces="true" data-stream="false" data-show-border="false" data-header="false"></div></div>
<div id="apDiv2">
<!-- TemplateBeginEditable name="gamespace" -->
<h1> </h1>
<p> </p><!-- TemplateEndEditable -->
<p><!-- TemplateBeginEditable name="EditRegion4" -->
<!-- TemplateEndEditable --></p>
<p> </p>
</div>
</div>
</div>
<footer class="site-footer">
I'm the Sticky Footer.
</footer>
CSS
html, body {
width:100%;
height:100%;
background-image: url(../img/bg.png);
background-repeat: repeat;
}
body{
background:#000000;
}
* {
margin: 0px;
padding: 0px;
}
a, img {
border:none;
border-top-style: none;
border-right-style: none;
border-bottom-style: none;
border-left-style: none;
}
.page-wrap {
min-height: 100%;
height:auto !important;
height: 100%;
/* equal to footer height */
margin-bottom: -200px;
}
.page-wrap:after {
content: "";
display: block;
}
.site-footer, .page-wrap:after {
/* .push must be the same height as footer */
height: 200px;
}
.site-footer {
background: orange;
}
#banner {
height: 173px;
margin:0;
padding:0;
position: relative;
top: 24px;
}
#navigation {
height: 60px;
position: relative;
left: auto;
width: 1024px;
top: 23px;
margin: 0px;
padding: 0px;
border: none;
}
#categoria {
position: absolute;
width: 710px;
height: 240px;
z-index: 0;
left: -29px;
top:30px;
padding: 0px;
z-index:1;
}
.othergames{
position: absolute;
top: -13px;
width: 740px;
height: 251px;
background-image: url(../img/otherg.png);
background-repeat: no-repeat;
z-index:1;
left: -43px;
}
.othergames-back{
position: absolute;
top: -11px;
width: 730px;
height: 247px;
background-color:#FFF;
left: -37px;
-webkit-border-radius:10px;
-moz-border-radius:10px;
border-radius:10px;
}
#thumb {
height: 180px;
position: relative;
float: left;
width: 164px;
height: 202px;
padding: 0px;
font-size: 18px;
border-top-style: none;
border-right-style: none;
border-bottom-style: none;
border-left-style: none;
font-family: "Comic Sans MS", cursive;
z-index: 1;
margin-top: 20px;
margin-right: 15px;
margin-bottom: 15px;
margin-left: 15px;
}
#screen_game{
background-color: #FBFBFB;
border-radius: 10px;
width: 170px;
height: 170px;
position: absolute;
left: -3px;
top: -33px;
z-index:...