Skip to content

Instantly share code, notes, and snippets.

@blvdmitry
Last active August 21, 2017 17:00
Show Gist options
  • Save blvdmitry/e7d218e798b18f8ba0242b2422cf06d1 to your computer and use it in GitHub Desktop.
Save blvdmitry/e7d218e798b18f8ba0242b2422cf06d1 to your computer and use it in GitHub Desktop.
Margin example 2
<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