Skip to content

Instantly share code, notes, and snippets.

@Grawl
Created January 30, 2015 06:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Grawl/2e3c26abc4e04e2e92a0 to your computer and use it in GitHub Desktop.
Save Grawl/2e3c26abc4e04e2e92a0 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.4.9)
// Compass (v1.0.1)
// ----
.datalist
&-float
%float-item
display: inline-block
&:not(:last-of-type)
margin:
right: 1em
padding:
right: 1em
border:
right: 1px solid
&-item
@extend %float-item
display: block
&-term
font:
weight: normal
&-description
font:
weight: bold
.datalist-float .datalist-item {
display: inline-block;
}
.datalist-float .datalist-item:not(:last-of-type) {
margin-right: 1em;
padding-right: 1em;
border-right: 1px solid;
}
.datalist-item {
display: block;
}
.datalist-item-term {
font-weight: normal;
}
.datalist-item-description {
font-weight: bold;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment