Source: mixins/index.scss, line 1
Source: mixins/index.scss, line 1
Source: mixins/animation.scss, line 1
These are some really simple mixins to write clean and DRY animations and leave the annoying vendor specific prefixing to the mixin.
Source: mixins/animation.scss, line 8
A mixin for vendor prefixing the animation
declaration
.complicated-element {
@include animation(animation-name 2s infinite linear);
}
Source: mixins/animation.scss, line 26
A mixin for vendor prefixing the animation-delay
declaration
.complicated-element {
@include animation-delay(2s);
}
Source: mixins/animation.scss, line 44
A mixin for vendor prefixing the @keyframes
declaration
@include keyframes(animation-name) {
// Your animation here
}
Source: mixins/animation.scss, line 68
A mixin for vendor prefixing transitions
.complicated-element {
@include transition(transform 0.2s ease-in-out);
}
Source: mixins/center.scss, line 1
Center the content in this element. Both vertically and horizontally.
.complicated-element {
@include center;
}
Source: mixins/fonts.scss, line 1
Set the default styling for font family and size.
p {
@include font;
}
The font family, defaults to $default-font
$family
The font size, defaults to $default-font-size
$size
The color to use for the font, defaults to $text-color
$color
Source: mixins/reset.scss, line 1
A mixin that resets margin, padding and box-sizing to reliable defaults on the given element (and optionally all its children).
.complicated-element {
@include reset;
}
Apply the reset to all the element's children too. Defaults to false. Only use this option if you are sure that no unknown components can ever be a child of your element.
$children-too
Source: mixins/responsiveness.scss, line 1
We'll probably want to revisit this some time soon, but for now it will get us going.
Source: mixins/responsiveness.scss, line 63
Mixin to specify styling that is only applicable to devices that have a mouse pointer with a minimum screen width of 768 pixels.
@include on-large-computer {
// Styling to apply
}
Source: mixins/responsiveness.scss, line 99
Mixin to specify styling that is only applicable to devices that have a minimum screen width of 768 pixels.
@include on-large-screen {
// Styling to apply
}
Source: mixins/responsiveness.scss, line 27
Mixin to specify styling that is only applicable to touchscreen devices with a minimum screen width of 768 pixels.
@include on-large-touchscreen {
// Styling to apply
}
Source: mixins/responsiveness.scss, line 45
Mixin to specify styling that is only applicable to devices that have a mouse pointer with a maximum screen width of 768 pixels.
@include on-small-computer {
// Styling to apply
}
Source: mixins/responsiveness.scss, line 81
Mixin to specify styling that is only applicable to devices that have a maximum screen width of 768 pixels.
@include on-small-screen {
// Styling to apply
}
Source: mixins/responsiveness.scss, line 9
Mixin to specify styling that is only applicable to touchscreen devices with a maximum screen width of 768 pixels.
@include on-small-touchscreen {
// Styling to apply
}