This file contains hidden or 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
| // Flexbox Mixins | |
| @mixin flexbox { | |
| display: -webkit-box; | |
| display: -webkit-flex; | |
| display: -moz-flex; | |
| display: -ms-flexbox; | |
| display: flex; | |
| } |
This file contains hidden or 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
| 'use strict'; | |
| ///////////////////////////////////////////////////////////////////////////// | |
| // GULP PLUGINS | |
| var gulp = require('gulp'), | |
| watch = require('gulp-watch'), | |
| autoprefix = require('gulp-autoprefixer'), | |
| sass = require('gulp-sass'), | |
| rename = require('gulp-rename'), | |
| concat = require('gulp-concat'), |
This file contains hidden or 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
| // ---- | |
| // Sass (v3.4.12) | |
| // Compass (v1.0.3) | |
| // ---- | |
| $baseSize: 16px; | |
| $convertBase: $baseSize; | |
| html { | |
| font-size: percentage($baseSize / 16px); |
This file contains hidden or 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
| (function($) { | |
| var result = $('#result'); | |
| var base = $('#base'); | |
| var list = $('#list'); | |
| $('#calc').click(function() { | |
| var baseVal = base.val(); | |
| var px = list.val().split(','); | |
| var html = []; | |
| $.each(px, function(i, v) { | |
| var px = parseInt(v); |
This file contains hidden or 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
| xcode-select --install | |
| /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
| brew update | |
| brew cask install iterm2 | |
| # update iterm2 settings -> colors, keep directory open new shell, keyboard shortcuts | |
| brew install bash # latest version of bash | |
| # set brew bash as default shell | |
| brew install git | |
| # update bash_profile | |
| brew cask install spectacle |