Created
August 23, 2018 01:25
-
-
Save yiyizym/e4d90d1a2bdb81feb27c51fd57914cf1 to your computer and use it in GitHub Desktop.
holy_grail_layout
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Document</title> | |
<style> | |
body { | |
margin: 0; | |
} | |
.header, | |
.footer { | |
min-height: 30px; | |
background: #aaa; | |
} | |
.left, | |
.middle, | |
.right { | |
min-height: 130px; | |
} | |
.left, | |
.right { | |
background: #00ff00; | |
} | |
.middle { | |
background: #ff0000; | |
} | |
</style> | |
</head> | |
<body> | |
<div class="header"></div> | |
<div class="container"> | |
<div class="left"></div> | |
<div class="middle"></div> | |
<div class="right"></div> | |
</div> | |
<div class="footer"></div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment