A Pen by David Hucklesby on CodePen.
Created
November 16, 2013 00:17
-
-
Save hucklesby/7494062 to your computer and use it in GitHub Desktop.
A Pen by David Hucklesby.
This file contains hidden or 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="grid"> | |
<div class="row"> | |
<div> | |
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p> <a href="#">link</a> | |
</div> | |
<div> | |
<p>Small amount of text</p> <a href="#">link</a> | |
</div> | |
</div> | |
</div> |
This file contains hidden or 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
/* prefixfree.js */ |
This file contains hidden or 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
html { | |
font-size: 100%; | |
background-color: #667; | |
} | |
body { | |
margin: 24px auto; | |
max-width: 60em; | |
width: 90%; | |
border: 1px solid #999; | |
padding: 1.5em 0; | |
background-color: #f0f0f0; | |
color: black; | |
font: 1em/1.5 "Helvetica Neue", Arial, sans-serif; | |
} | |
* { | |
-webkit-box-sizing: border-box; | |
-moz-box-sizing: border-box; | |
box-sizing: border-box; | |
} | |
.grid { | |
display: table; | |
border-spacing: 1em 0; | |
} | |
.row { | |
display: table-row; | |
display: flex; | |
justify-content: space-around; | |
} | |
.row > * { | |
display: table-cell; | |
display: flex; | |
flex-direction: column; | |
justify-content: space-between; | |
width: 45%; | |
padding: .75em 1.5em 1.5em; | |
border: 1px solid #999; | |
background-color: white; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment