Created
January 28, 2015 17:20
-
-
Save anonymous/03d73b0504c7538574de to your computer and use it in GitHub Desktop.
Jordan Grid System
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Jordan</title> | |
<meta name="viewport" content="width=device-width"> | |
<link rel="stylesheet" href="css/stylesheet.css"> | |
</head> | |
<body> | |
<h1>Jordan Childs</h1> | |
<main> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
</main> | |
</body> | |
</html> |
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
/* This uses flexbox, if you have issues google flexbox | |
Layout stuff is this first section*/ | |
main { | |
display: -webkit-box; | |
display: -moz-box; | |
display: -ms-flexbox; | |
display: -webkit-flex; | |
display: flex; | |
-webkit-flex-flow: row wrap; | |
justify-content: space-around; | |
justify-content: space-around; | |
max-width: 840px; | |
margin: auto; | |
} | |
div { | |
text-align: center; | |
margin: 10px; | |
height: 400px; | |
width: 400px; | |
background-color: #4dadc4; | |
} | |
/* text formatting */ | |
h1 { | |
display: block; | |
margin: auto; | |
text-align: center; | |
font-family: Helvetica, sans-serif; | |
padding: 15px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment