A Pen by Palaniraja on CodePen.
Created
August 18, 2014 15:24
-
-
Save palaniraja/3ecb325960ade557551e to your computer and use it in GitHub Desktop.
A Pen by Palaniraja.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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