i cant spell =(
This commit is contained in:
parent
063803c5cc
commit
fa49a6b933
@ -39,11 +39,11 @@ $<%= name %>-layout:vertical !default;
|
|||||||
background: $<%= name %>-sprites no-repeat;
|
background: $<%= name %>-sprites no-repeat;
|
||||||
}
|
}
|
||||||
|
|
||||||
//sass functions to return the demensions of a sprite image as units
|
//sass functions to return the dimensions of a sprite image as units
|
||||||
<% [:width, :height].each do |demension| %>
|
<% [:width, :height].each do |dimension| %>
|
||||||
@function <%= name %>-sprite-<%= demension %>($name) {
|
@function <%= name %>-sprite-<%= dimension %>($name) {
|
||||||
$file: sprite_file($<%= name %>-sprites, $name);
|
$file: sprite_file($<%= name %>-sprites, $name);
|
||||||
@return image-<%= demension %>($file);
|
@return image-<%= dimension %>($file);
|
||||||
}
|
}
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user