Wufoo SVG Ad
Forked from Chris Coyier's Pen Wufoo SVG Ad.
A Pen by Stefan Imhoff on CodePen.
'use strict'; | |
module.exports = function(grunt) { | |
// load all grunt tasks | |
require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks); | |
// configurable paths | |
var paths = { |
<div class='holder'> | |
<div class='block-a'>A</div> | |
<div class='block-b'>b</div> | |
</div> |
# Generate cache busters using the MD5 digest of files rather than the default | |
# `mtime`. | |
asset_cache_buster do |_, file| | |
Digest::MD5.hexdigest(File.read(file.path)) | |
end |
body { | |
font-family: Arial; | |
font-size: 14px; | |
color: grey; | |
} | |
.hide { | |
background: grey; | |
color: grey; | |
padding: 2px; |
# | |
# Jekyll Generator for SCSS | |
# | |
# (File paths in this description relative to jekyll project root directory) | |
# Place this file in ./_plugins | |
# Place .scss files in ./_scss | |
# Compiles .scss files in ./_scss to .css files in whatever directory you indicated in your config | |
# Config file placed in ./_sass/config.rb | |
require 'compass' |
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
<svg width="300px" height="300px" viewBox="0 0 300 300" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns"> | |
<defs> | |
<style> | |
.icon { | |
display: none; | |
} | |
#home_icon_0 { | |
display: block; |
Forked from Chris Coyier's Pen Wufoo SVG Ad.
A Pen by Stefan Imhoff on CodePen.
(function() { | |
var CSSCriticalPath = function(w, d, opts) { | |
var opt = opts || {}; | |
var css = {}; | |
var pushCSS = function(r) { | |
if(!!css[r.selectorText] === false) css[r.selectorText] = {}; | |
var styles = r.style.cssText.split(/;(?![A-Za-z0-9])/); | |
for(var i = 0; i < styles.length; i++) { | |
if(!!styles[i] === false) continue; | |
var pair = styles[i].split(": "); |
Using subsetted fonts and font stacks is an efficient and terse way to enhance typography. No javascript or added markup.
Forked from Heydon's Pen ROCK & ROLL.
A Pen by Stefan Imhoff on CodePen.
img { | |
-webkit-filter: blur(2px); | |
-moz-filter: blur(2px); | |
filter: blur(2px); | |
} |