Skip to content

Instantly share code, notes, and snippets.

@blvdmitry
Created August 21, 2017 16:28
Show Gist options
  • Save blvdmitry/aa8fd3590c31cdefafc386afc369cc45 to your computer and use it in GitHub Desktop.
Save blvdmitry/aa8fd3590c31cdefafc386afc369cc45 to your computer and use it in GitHub Desktop.
Margin example 1
<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