Last active
August 26, 2015 00:02
-
-
Save arleym/12e3521227cc57d7c5de to your computer and use it in GitHub Desktop.
This file contains 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 characters
// The mixin that made experimenting nice on http://arleym.com/resume/ | |
@mixin blipper($x) { | |
width: ($x * $base); | |
height: ($x * $base); | |
margin: ($x * ($base * -.5)) 0 0 ($x * ($base * -.5)); // should have used transform-origin, but I didn't know about that at the time! | |
z-index: (100 - $x); | |
} | |
.circles { | |
// Circles from smallest to biggest | |
.alpha { | |
@include blipper(1); | |
} | |
.beta { | |
@include blipper(2); | |
} | |
.charlie { | |
@include blipper(3); | |
} | |
.delta { | |
@include blipper(4); | |
} | |
.epsilon { | |
@include blipper(5); | |
} | |
.foxtrot { | |
@include blipper(6); | |
} | |
.gamma { | |
@include blipper(7); | |
} | |
.hotel { | |
@include blipper(8); | |
} | |
.india { | |
@include blipper(9); | |
} | |
.juliette { | |
@include blipper(10); | |
background:url(../img/textured_paper.png); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment