Skip to content

Instantly share code, notes, and snippets.

@kellishouts
kellishouts / gulp-scss-livereload.md
Last active June 29, 2018 16:03
Gulp + SCSS + LiveReload - Updated 12/18/2015

Gulp + SCSS + LiveReload

This Gist outlines the gulp workflow that will:

  1. watch for any scss changes, then compiles scss source into css
  2. watch for any changes in the public directory, and trigger live-reload
  3. serve static content in public/

This Gist also assumes you already know how to install npm modules, gitignore, create directories and create files via the command line.

@kellishouts
kellishouts / GoogleFu-Priorities.md
Last active November 8, 2015 12:47
GoogleFu Priorities

Jason

8 - 11 Private Game Flow
30 Lobby: Ability to Leave the Game Lobby
Ability to Remove User

Jon

25 Winner View

Kelli

More Search Results

@kellishouts
kellishouts / css_demo.scss
Created August 12, 2015 03:01
css_for_n00bs_demo.scss
// Imports /////////////////////////////////
@import "partials/reset";
@import "partials/clearfix";
// Really ugly styles /////////////////////////////////
body{
background-color: red;
font-size: 40px;
@kellishouts
kellishouts / css_for_n00bs.md
Last active September 29, 2016 20:56
CSS for n00bs

Intro to CSS / SCSS Styling for n00bs

Write html for the largest, most complex layout; style for the smallest, simplest layout.

1. Write good markup, thinking LARGE to SMALL

2. Add imports, resets, grids, css frameworks.

3. Give layout elements (rows and columns) really ugly styles (give everything a bright bg color or border)

@kellishouts
kellishouts / block_family_styles.scss
Created June 23, 2015 09:26
Block Family styles.scss
// Resets, Clearfix, etc
// import reset and clearfix
// Variables
$dark: #222;
$light: #EEE;
$highlight: orange;
$padding: 20px;
@kellishouts
kellishouts / block_family_index.html
Created June 23, 2015 09:18
Block Family index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>block family</title>
<link rel="stylesheet" href="css/styles.css">
</head>
<body>
<h1>block family</h1>
@kellishouts
kellishouts / block_family.md
Last active March 27, 2017 23:33
Block Family

Block Family

Set up:

  1. Run gulp. This project uses the Gulp + Livereload + Sass Project boilerplate, however all of this should already be set up for you.

  2. Check that Livereload is running.

  3. Check that sass is compiling. (set a variable, use the variable, then check if gulp compiles to a proper css file)

@kellishouts
kellishouts / gulp_sass_livereload.md
Last active January 24, 2022 06:40
Gulp + Sass + LiveReload 1.0

Gulp + Sass + LiveReload

This Gist goes over setting up a gulp workflow that will:

  1. watch for any sass changes, then compiles sass source into css
  2. watch for any changes in the public directory, and trigger live-reload
  3. serve static content in public/

@kellishouts
kellishouts / gulpfile.js
Created June 23, 2015 07:07
Basic Gulpfile - Livereload and Sass
var gulp = require('gulp');
var sass = require('gulp-sass');
var connect = require('gulp-connect');
gulp.task('connect', function(){
connect.server({
root: 'public',
livereload: true
});
});
@kellishouts
kellishouts / gulp_sass_livereload_foundation.md
Last active April 20, 2023 17:34 — forked from theRemix/README.md
Gulp + Sass + LiveReload + Foundation

Gulp + Scss + LiveReload + Foundation

Goals

Set up a boilerplate Gulp + Scss + LiveReload + Foundation 5 workflow that:

  1. watches for any scss changes, then compiles scss source into css
  2. watches for any changes in the public directory, triggers live-reload
  3. serves your static content in public/