Generated by SassMeister.com.
.tool-socket {
background: url("socket.png") no-repeat;
}
.tool-wrench {
background: url("wrench.png") no-repeat;
}
.tool-bolt {
background: url("bolt.png") no-repeat;
}
/*
.tool-socket {
background: url('socket.png') no-repeat;
}
.tool-wrench {
background: url('wrench.png') no-repeat;
}
.tool-bolt {
background: url('bolt.png') no-repeat;
}
*/
// ----
// Sass (v3.4.12)
// Compass (v1.0.3)
// ----
// TODO: simplify with @each
$tools: socket, wrench, bolt;
@each $tool in $tools {
.tool-#{$tool}{
background: url('#{$tool}.png') no-repeat;
}
}
/*
.tool-socket {
background: url('socket.png') no-repeat;
}
.tool-wrench {
background: url('wrench.png') no-repeat;
}
.tool-bolt {
background: url('bolt.png') no-repeat;
}
*/