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;
}
.page{
width: 92%;
background: #cccccc;
position: relative;
top: -30px;
z-index: 9;
margin: 10px;
display: block;
height: 200px;
}
#rodape{
background: #3C948B;
width:98%;
height: 80px;
position: absolute;
bottom: 0;
clear: both;
}
JavaScript
$('.page').click(function(){
$('.page').css('height', '500px');
})