Last active
December 10, 2015 18:28
Revisions
-
mucsher renamed this gist
Jan 7, 2013 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,4 @@ // Convert Image Size #imgSize { .s3x4(@width) { -
mucsher renamed this gist
Jan 7, 2013 . 1 changed file with 4 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,14 +1,14 @@ #imgSize { .s3x4(@width) { width: @width; height: round((@width / 3) * 4); } .s4x3(@width) { width: @width; height: round((@width / 4) * 3); } .s4x4(@width) { width: @width; height: @width; } -
mucsher created this gist
Jan 7, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,23 @@ #imgSize { .s3x4(@width) { width: @width; height: round((@width / 3) * 4); } .s4x3(@width) { width: @width; height: round((@width / 4) * 3); } .s4x4(@width) { width: @width; height: @width; } .s4x6(@width) { width: @width; height: round((@width / 4) * 6); } .s6x4(@width) { width: @width; height: round((@width / 6) * 4); } }