This file contains 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
var gulp = require('gulp'), | |
browserify = require('browserify'), | |
babelify = require('babelify'), | |
uglify = require('gulp-uglify'), | |
buffer = require('vinyl-buffer'), | |
source = require('vinyl-source-stream'), | |
sass = require('gulp-sass'), | |
sassGlob = require('gulp-sass-glob'), | |
autoprefixer = require('gulp-autoprefixer'), | |
sourcemaps = require('gulp-sourcemaps'), |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head lang="en"> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui"> | |
<title>Display images on link hover</title> | |
<meta name="description" content="Just an exemple of how we can display images on link hover"> | |
<meta name="author" content="Yann Isabel"> | |
<link href="styles.css" type="text/css" rel="stylesheet"> | |
<link rel="icon" href="http://yannisabel.com/images/logos/favicon.ico" /> |
This file contains 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
/* | |
Description : SASS function to choose the best contrast color between font and background. Work with hexadecimal, RGB, RGBA, HSL and HSLA. | |
Author: Yann Isabel | |
URL: https://github.com/yannisabel | |
Website : http://yannisabel.com | |
*/ | |
// Color Variables | |
$grey: #333; | |
$white: #fff; |