Skip to content

Instantly share code, notes, and snippets.

View theWhiteFox's full-sized avatar
👑
Crafting Web Apps - Continuous Learning

Stephen ♔ Ó Conchubhair theWhiteFox

👑
Crafting Web Apps - Continuous Learning
View GitHub Profile
@theWhiteFox
theWhiteFox / gulpfile.js
Last active April 27, 2017 15:08
gulp file with browser-sync, minify css, js, and image-optimization to dist folders
"use strict";
var gulp = require('gulp');
var browserSync = require('browser-sync').create();
var header = require('gulp-header');
var cleanCSS = require('gulp-clean-css');
var rename = require("gulp-rename");
var uglify = require('gulp-uglify');
var pkg = require('./package.json');
var imageop = require('gulp-image-optimization');
@theWhiteFox
theWhiteFox / index.html
Created April 20, 2017 14:12
Pure javascript and CSS progress bar
<div class="wrapper">
<div id="progressbar">
<div id="progress"></div>
</div>
</div>

Color Palettes

Color swatches with hex values on click and rgb values on double-click...actively selected and available to copy.

A Pen by ‌‌ on CodePen.

License.

@theWhiteFox
theWhiteFox / index.html
Created April 20, 2017 13:22
Parallax Scroller
<div id="back">
</div>
<div id="middle">
</div>
<div id="front">
</div>
@theWhiteFox
theWhiteFox / index.html
Created April 20, 2017 08:28
Sign-Up/Login Form
<div class="form">
<ul class="tab-group">
<li class="tab active"><a href="#signup">Sign Up</a></li>
<li class="tab"><a href="#login">Log In</a></li>
</ul>
<div class="tab-content">
<div id="signup">
<h1>Sign Up for Free</h1>
@theWhiteFox
theWhiteFox / index.html
Created April 19, 2017 09:24
TweenMax.staggerTo()
<link href='http://fonts.googleapis.com/css?family=Asap:400,700' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Signika' rel='stylesheet' type='text/css'>
<h2>TweenMax.staggerTo()</h2>
<div id="demo">
<p>The start times of each animation are staggered by 0.5 seconds</p>
<div class="box green"></div>
<div class="box grey"></div>
<div class="box orange"></div>
<div class="box green"></div>
<div class="box grey"></div>
for (var index = 1; index <= 15; index++) {
console.log(((['Fizz'][index % 3] || '') + (['Buzz'][index % 5] || '')) || index);
}
@theWhiteFox
theWhiteFox / awesome-bootstrap-3-sidebar-navigation.markdown
Created February 27, 2017 14:13
Awesome Bootstrap 3 Sidebar Navigation
@theWhiteFox
theWhiteFox / index.html
Created February 24, 2017 13:15
particles.js demo
<!-- particles.js container --> <div id="particles-js"></div> <!-- stats - count particles --> <div class="count-particles"> <span class="js-count-particles">--</span> particles </div> <!-- particles.js lib - https://github.com/VincentGarreau/particles.js --> <script src="http://cdn.jsdelivr.net/particles.js/2.0.0/particles.min.js"></script> <!-- stats.js lib --> <script src="http://threejs.org/examples/js/libs/stats.min.js"></script>