forked from ga-wdi-boston/html-css-layout
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added example folder to exemplify layout in class
- Loading branch information
1 parent
779727b
commit c1eae40
Showing
2 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>Playing with Layouts</title> | ||
<link rel="stylesheet" href="style.css"> | ||
</head> | ||
<body> | ||
<div class="half"> | ||
<p>I'm a box!</p> | ||
</div> | ||
<div class="half"> | ||
<p>I'm a box!</p> | ||
</div> | ||
<div class="half"> | ||
<p>I'm a box!</p> | ||
</div> | ||
<div class="full"> | ||
<p>I'm also a box!</p> | ||
<p>Just a little different from those others.</p> | ||
</div> | ||
</body> | ||
</html> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
div{ | ||
height: 100px; | ||
border: 1px solid #000; | ||
margin-bottom: 10px; | ||
text-align: center; | ||
width: 30%; | ||
} | ||
|
||
p { | ||
font-family: Helvetica; | ||
} | ||
|
||
.half { | ||
} | ||
|
||
.full{ | ||
} |