Skip to content

Instantly share code, notes, and snippets.

@pequx
Created February 22, 2016 09:10
Show Gist options
  • Save pequx/6a862a9d963b2ca48496 to your computer and use it in GitHub Desktop.
Save pequx/6a862a9d963b2ca48496 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
<nav class="nav">
<a class="nav-element">The Workshop</a>
<a class="nav-element">The Workshop</a>
<a class="nav-element">The Workshop</a>
<a class="nav-element">The Workshop</a>
</nav>
// ----
// libsass (v3.2.5)
// ----
.nav {
background: -webkit-linear-gradient(top, #eeeeee 0%,#cccccc 100%);
display: flex;
justify-content: space-between;
border-readius: 5px;
&-element {
list-style-type: none;
padding: 0px;
margin: 0px;
padding: 10px;
width: 100%;
border-right:1px dotted black;
text-align:center;
}
&-element:last-child {
border-right:none;
}
}
.nav {
background: -webkit-linear-gradient(top, #eeeeee 0%, #cccccc 100%);
display: flex;
justify-content: space-between;
border-readius: 5px;
}
.nav-element {
list-style-type: none;
padding: 0px;
margin: 0px;
padding: 10px;
width: 100%;
border-right: 1px dotted black;
text-align: center;
}
.nav-element:last-child {
border-right: none;
}
<nav class="nav">
<a class="nav-element">The Workshop</a>
<a class="nav-element">The Workshop</a>
<a class="nav-element">The Workshop</a>
<a class="nav-element">The Workshop</a>
</nav>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment