JSFiddle - React, Tailwind, and code Playground
by Samir Chaves
HTML
<div class="page">
</div>
<div id="rodape" >
<p style="vertical-align: middle; position: relative; top: 28px; margin-left: 20px;
color: rgb(255, 255, 255)" >TechSmart© WebResolution® - 2014</p>
</div>
CSS
body{
height: auto;
padding-bottom: -20%;
}
.page{
width: 92%;
background: #cccccc;
position: relative;
top: -30px;
z-index: 9;
margin: 10px;
height: 200px;
float: left;
}
#rodape{
background: #3C948B;
width:98%;
height: 80px;
position: absolute;
bottom: 0;
clear: both;
margin-bottom: 0;
}
JavaScript
$('.page').click(function(){
$('.page').css('height', '+=50')
})