Created
February 9, 2016 15:50
-
-
Save MrJadaml/4c8260e263db32b7af38 to your computer and use it in GitHub Desktop.
Have students help you build a visual box model model - (sage and scribe activity)
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>Box Model Model</title> | |
<style> | |
body { | |
padding-top: 80px; | |
} | |
.margin { | |
width: 25%; | |
margin: 0 auto; | |
background-color: rgba(244, 205, 161, 1); | |
border: 2px dashed; | |
padding: 10px 20px 20px 20px; | |
} | |
.border { | |
background-color: rgba(250, 220, 160, 1); | |
border: 2px solid; | |
padding: 10px 20px 20px 20px; | |
margin: 5px; | |
} | |
.padding { | |
background-color: rgba(201, 218, 184, 1); | |
border: 2px dashed rgba(128, 128, 128, 1); | |
padding: 10px 20px 20px 20px; | |
margin: 5px; | |
} | |
.element{ | |
background-color: rgba(146, 180, 191, 1); | |
border: 2px solid rgba(128, 128, 128, 1); | |
padding: 10px 20px; | |
margin: 5px; | |
} | |
</style> | |
</head> | |
<body> | |
<div class="margin"> | |
margin | |
<div class="border"> | |
border | |
<div class="padding"> | |
padding | |
<div class="element"> | |
element | |
</div> | |
</div> | |
</div> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment