Last active
September 21, 2016 08:24
-
-
Save voidove/0182b44e1d1fd6fe627ec5e03907b61a to your computer and use it in GitHub Desktop.
equal height column
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
/** | |
* equal height column | |
*/ | |
.parent { | |
border: 1px solid; | |
float: left; | |
overflow: hidden; | |
} | |
.child { | |
float: left; | |
margin: 10px; | |
width: 300px; | |
background: grey; | |
padding-bottom: 100px; | |
margin-bottom: -100px; | |
} | |
p { | |
border: 1px solid red; | |
} |
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 class="parent"> | |
<div class="child"> | |
<p>Creating equal height columns with CSS. This tutorial highlights the display problems that occur with multiple column layouts </p> | |
</div> | |
<div class="child"> | |
<p>Creating equal height columns with CSS is not as easy as it may first seem. This tutorial highlights the display problems that occur with multiple column layouts, and then shows a simple solution that works in all common web browsers. The method shown here is 100% CSS hack-free</p> | |
</div> | |
<div class="child"> | |
<p>This tutorial highlights the display problems that occur with multiple column layouts, and then shows a simple solution that works in all common web browsers. The method shown here is 100% CSS hack-free, image-free </p> | |
</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
// alert('Hello world!'); |
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
{"view":"separate","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment