Skip to content

Instantly share code, notes, and snippets.

@palaniraja
Created August 18, 2014 15:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save palaniraja/3ecb325960ade557551e to your computer and use it in GitHub Desktop.
Save palaniraja/3ecb325960ade557551e to your computer and use it in GitHub Desktop.
A Pen by Palaniraja.
<div id="outer">
<div id="inner">
this is the inner text <br> second line can be added.
<div class="date">16-aug-2014</div>
</div>
</div>
#outer {
position: relative;
width: 300px;
height: 100px;
background: red;
}
#inner {
position: absolute;
width: 100%;
bottom: 0;
background: green;
}
.date{
padding:4px 0;
color:yellow;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment