Skip to content

Instantly share code, notes, and snippets.

@since1976
Created August 13, 2013 03:54
Show Gist options
  • Save since1976/6217765 to your computer and use it in GitHub Desktop.
Save since1976/6217765 to your computer and use it in GitHub Desktop.
Generated name from list
$layoutList: mc mcc cc c;
@each $layout in $layoutList{
.layout-#{$layout} .content:before{
content: 'Layout: #{$layout}';
position: absolute;
left: 0;
top: 0;
padding: 6px;
font-size: pem(11);
line-height: pem(18,11);
background: $m10-orange;
color: white;
margin: auto;
text-align: center;
text-transform: uppercase;
height: auto;
z-index: 20;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment