-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from SimonSapin/margin-collapsing
Implement margin collapsing between siblings and with parent
- Loading branch information
Showing
9 changed files
with
264 additions
and
90 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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
<!doctype html> | ||
<link rel=match href="blocks.png"> | ||
<div style="margin: 20px 30px; padding: 10px 20px 30px 40px; background-color: green"> | ||
<div style="margin: 20px 30px; padding: 5px 20px 30px 40px; background-color: green"> | ||
<p> | ||
<p> | ||
</div> | ||
<style> | ||
p { background-color: blue; width: 200px; height: 100px; margin: 5px } | ||
</style> | ||
p { background-color: blue; width: 200px; height: 100px; margin: 10px 5px 5px } | ||
</style> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Oops, something went wrong.