Skip to content

Instantly share code, notes, and snippets.

{
"always_show_minimap_viewport": true,
"auto_complete_delay": 0,
"auto_complete_selector": "source - comment, meta.tag - punctuation.definition.tag.begin",
"auto_find_in_selection": true,
"binary_file_patterns":
[
".sass-cache/*"
],
"bold_folder_labels": true,
@tomrishworth
tomrishworth / applying-fontawesome-icons-with-css-3
Created November 27, 2014 19:37
Applying FontAwesome icons with css - 3
a{
font-size: 0;
&:before{
font-size: 20px;
}
}
@tomrishworth
tomrishworth / gist:af212436005a21e06e2c
Last active August 29, 2015 14:10
Webscope Gruntfile
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
watch: {
sass: {
files: ['sass/**/*.{scss,sass}','sass/_partials/**/*.{scss,sass}'],
tasks: ['sass:dist'],
options: {
livereload: true
}
@tomrishworth
tomrishworth / Media Query Mixin
Last active August 29, 2015 14:05
Media Query Mixin
// Media Query Variables
$XS: 580px;
$S: 768px;
$M: 992px;
$L: 1200px;
$XL: 1440px;
// Media Query Mixin
@mixin MQ($canvas){
@if $canvas == XS{