Skip to content

Instantly share code, notes, and snippets.

@yitsushi
Created April 18, 2011 12:35
Show Gist options
  • Save yitsushi/925233 to your computer and use it in GitHub Desktop.
Save yitsushi/925233 to your computer and use it in GitHub Desktop.
.valami_class {
font-size: 12px;
width: 100px;
height: 100px;
background-image: url("../images/blog/type_text.png"); }
.valami_mas_class {
color: #aa0000;
width: 150px;
height: auto; }
=valami($width: 100px, $height: 100px)
width: $width
height: $height
=img_bg($img_name)
background:
image: url("../images/blog/type_"+$img_name+".png")
.valami_class
font-size: 12px
+valami
+img_bg('text')
.valami_mas_class
color: #aa0000
+valami(150px, auto)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment