Skip to content

Instantly share code, notes, and snippets.

View Dilts's full-sized avatar
👻
Floating around...

Dilts Dilts

👻
Floating around...
  • BD Rouviere
  • Denver/Boulder
View GitHub Profile
@Dilts
Dilts / gist:6c328ea6f8cbd7ec1cb6
Created June 20, 2014 17:36
force box-model on css
http://www.paulirish.com/2012/box-sizing-border-box-ftw/
add to css
/* apply a natural box layout model to all elements */
*, *:before, *:after {
-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
}
@Dilts
Dilts / gruntfile.js
Last active August 29, 2015 14:25
This is a grunt file that minimizes my JS and CSS as well as deploys to a staging server before production for Wordpress sites
'use strict';
module.exports = function(grunt) {
// load all grunt tasks
require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks);
grunt.initConfig({
// watch for changes and trigger compass, jshint, uglify and livereload
watch: {