Skip to content

Instantly share code, notes, and snippets.

View erickjones's full-sized avatar
👾
Giving 110%

Erick Jones erickjones

👾
Giving 110%
View GitHub Profile
@erickjones
erickjones / .bash_profile
Created April 22, 2016 23:17 — forked from natelandau/.bash_profile
Mac OSX Bash Profile
# ---------------------------------------------------------------------------
#
# Description: This file holds all my BASH configurations and aliases
#
# Sections:
# 1. Environment Configuration
# 2. Make Terminal Better (remapping defaults and adding functionality)
# 3. File and Folder Management
# 4. Searching
# 5. Process Management
@erickjones
erickjones / remify.scss
Created February 8, 2016 09:10 — forked from Benjaminsson/remify.scss
SASS REMify
@mixin remify($property, $sizes) {
$pixelSizes: ();
$remSizes: ();
@each $s in $sizes {
$pixelSizes: append($pixelSizes, $s * 1px);
$remSizes: append($remSizes, rem($s));
}
#{$property}: $pixelSizes;
@erickjones
erickjones / _unit.scss
Created February 8, 2016 09:10 — forked from colinmeinke/_unit.scss
Sass remify/emify mixins
// Defaults
$base_font_size: 16px;
$rem_fallback: true;
// Usage: rem(16px);
@function rem(
$size,
$base_font_size: $base_font_size
) {
@return #{$size / $base_font_size}rem;
@erickjones
erickjones / mixin-include-output.css
Created July 1, 2015 21:36
Mixin and Include Output
.green-dog {
-webkit-transform: rotate(30deg); /* Ch <36, Saf 5.1+, iOS, An =<4.4.4 */
-ms-transform: rotate(30deg); /* IE 9 */
transform: rotate(30deg); /* IE 10, Fx 16+, Op 12.1+ */
}
@erickjones
erickjones / mixin-include.scss
Last active August 29, 2015 14:24
Mixin and Include
@mixin transform-rotate($rotateValue) {
-webkit-transform: rotate($rotateValue); /* Ch <36, Saf 5.1+, iOS, An =<4.4.4 */
-ms-transform: rotate($rotateValue); /* IE 9 */
transform: rotate($rotateValue); /* IE 10, Fx 16+, Op 12.1+ */
}
.green-dog {
@include transform-rotate(30deg);
}
.black-dog {
background-color: #333;
}
.black-cat {
@extend .black-dog;
width:20px;
}
.black-dog, .black-cat {
background-color: #333;
}
.black-cat {
width: 20px;
}
@erickjones
erickjones / importing-partial.scss
Created July 1, 2015 21:06
Importing SCSS Partial
@import '_reset';
// The rest of your code goes here
@erickjones
erickjones / _reset.scss
Created July 1, 2015 21:01
SCSS Partial
* {
margin: 0;
padding: 0;
border: 0;
}