Skip to content

Instantly share code, notes, and snippets.

View malrase's full-sized avatar

Michael Lintorn-Catlin malrase

View GitHub Profile
@malrase
malrase / SassMeister-input.scss
Created October 6, 2014 20:52
Generated by SassMeister.com.
// ----
// Sass (v3.4.4)
// Compass (v1.0.1)
// ----
div.colors {
background: grayscale(red);
background: saturate(red);
background: saturate(red, 20%);
background: invert(red);
@malrase
malrase / SassMeister-input.scss
Last active August 29, 2015 14:07
Generated by SassMeister.com.
// ----
// libsass (v2.0.0)
// ----
body /deep/ .library {
color: blue;
}
@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;
@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 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 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 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 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 17:25
Generated by SassMeister.com.
// ----
// libsass (v2.0.0)
// ----
$var: orange;
.test {
color: $var;
}
@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;