Last active
August 21, 2017 17:00
-
-
Save blvdmitry/e7d218e798b18f8ba0242b2422cf06d1 to your computer and use it in GitHub Desktop.
Margin example 2
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
<style> | |
.mb5 { margin-bottom: 5px; } | |
.m20 { margin: 20px; } | |
</style> | |
// Route margin wrapping a component | |
<div class="mb5"> | |
<div class="component1"></div> | |
</div> | |
// Route margin with mixed class to a component | |
<div class="component2 m20"></div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment