Created
August 21, 2017 16:28
-
-
Save blvdmitry/aa8fd3590c31cdefafc386afc369cc45 to your computer and use it in GitHub Desktop.
Margin example 1
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> | |
.route-header { margin-bottom: 5px; } | |
.route-content { margin: 20px; } | |
</style> | |
// Route margin wrapping a component | |
<div class="route-header"> | |
<div class="component1"></div> | |
</div> | |
// Route margin with mixed class to a component | |
<div class="component2 route-content"></div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment