Skip to content

Instantly share code, notes, and snippets.

View malrase's full-sized avatar

Michael Lintorn-Catlin malrase

View GitHub Profile
LA LA LAND
1oz Earl Grey Gin *
0.75oz lemon juice
0.5oz St Germain
~3oz Champagne
Shake gin, lemon and St Germain over ice. Pour into flute. Top up with Champagne.
* Earl Grey Gin: seep 1 Earl Grey teabag in 2 cups of gin (e.g. Plymouth) for 2 hours.
@malrase
malrase / SassMeister-input.scss
Created October 7, 2014 18:13
Generated by SassMeister.com.
// ----
// libsass (v2.0.0)
// ----
$variable: 1;
$interpolation: #{$variable}px;
div {
top: -$interpolation;
@malrase
malrase / SassMeister-input.scss
Created October 7, 2014 17:53
Generated by SassMeister.com.
// ----
// Sass (v3.4.4)
// Compass (v1.0.1)
// ----
$mediaquery: 'and (min-width: 300px)';
@media all #{$mediaquery} {
div {
display: block;
@malrase
malrase / SassMeister-input.scss
Created October 7, 2014 17:25
Generated by SassMeister.com.
// ----
// libsass (v2.0.0)
// ----
$var: orange;
.test {
color: $var;
}
@malrase
malrase / SassMeister-input.scss
Created October 7, 2014 16:58
Generated by SassMeister.com.
// ----
// libsass (v2.0.0)
// ----
@for $i from 1 through 3 {
foo.bar#{$i} {
background-size: #{$i * 10}% 100%;
}
}
@malrase
malrase / SassMeister-input.scss
Created October 7, 2014 15:59
Generated by SassMeister.com.
// ----
// Sass (v3.4.4)
// Compass (v1.0.1)
// ----
/*@each $header, $size in (h1: 2em, h2: 1.5em, h3: 1.2em) {
#{$header} {
font-size: $size;
}
}*/
@malrase
malrase / SassMeister-input.scss
Created October 6, 2014 22:41
Generated by SassMeister.com.
// ----
// libsass (v2.0.0)
// ----
@function measure-margin($scale, $measure, $unit) {
@return ($measure/$scale)#{$unit};
}
.test {
margin: measure-margin(10, 100, rem);
@malrase
malrase / SassMeister-input.scss
Created October 6, 2014 22:12
Generated by SassMeister.com.
// ----
// libsass (v2.0.0)
// ----
.social-icon {
@each $social in facebook, instagram, twitter, email {
&--#{$social} {
color: blue;
}
}
@malrase
malrase / SassMeister-input.scss
Created October 6, 2014 21:45
Generated by SassMeister.com.
// ----
// Sass (v3.4.4)
// Compass (v1.0.1)
// ----
@function measure-margin($scale, $measure, $value) {
@return ($measure/$scale)#{$value};
}
.test {
@malrase
malrase / SassMeister-input.scss
Created October 6, 2014 21:23
Generated by SassMeister.com.
// ----
// libsass (v2.0.0)
// ----
#something::shadow {
color: blue;
}
:host .library {
background: green;