##Sass Functions Cheat Sheet
This file contains hidden or 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
| { | |
| "added_words": | |
| [ | |
| "Mockup", | |
| "plugins", | |
| "coffeescript", | |
| "sourcemaps", | |
| "html", | |
| "plugin", | |
| "init", |
This file contains hidden or 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
| <style type="text/css"> | |
| a.link{margin:0;padding:0;border:none;text-decoration:none;} | |
| </style> | |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
| <meta name="format-detection" content="telephone=no"> | |
| <br /> | |
| <br /> |
CSS Animated Hamburger Icon with Transforms
A Pen by Elijah Manor on CodePen.
Replace all instances of <polyline with <path and points=" with d="M.
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="1000px" height="1000px" viewBox="0 0 1000 1000" enable-background="new 0 0 1000 1000" xml:space="preserve">
-<polyline fill="#FFFFFF" stroke="#000000" stroke-miterlimit="10" points="100.712,141.534 582.904,227.835 425.37,478.521
+
This file contains hidden or 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
| //Scroll to anchor on new page load | |
| $(document).ready(function() { | |
| //This a page anchor link? | |
| if (window.location.hash) { | |
| //Then, slow your roll son, load then scroll | |
| setTimeout(function() { | |
| $('html, body').scrollTop(0).show(); | |
| $('html, body').animate({ | |
| //how about a touch of offset, cause I'm rockin' a fixed nav | |
| scrollTop: $(window.location.hash).offset().top-50 |
This file contains hidden or 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
| module.exports = function(grunt) { | |
| grunt.initConfig({ | |
| pkg: grunt.file.readJSON('package.json'), | |
| php: { | |
| dev: { | |
| options: { | |
| hostname: '127.0.0.1', |
This file contains hidden or 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
| #DROPBOX SYNCING | |
| #============== | |
| # bash_profile | |
| rm -rf .bash_profile | |
| ln -s ~/Dropbox/.bash_profile .bash_profile | |
| # Sublime 2 Preferences | |
| cd ~/Library/Application\ Support/Sublime\ Text\ 2/ | |
| ln -s ~/Dropbox/appdata/sublime/Installed\ Packages ./Installed\ Packages |
This file contains hidden or 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
| /*Transparent pattern placed over an image, like we see on the bootstrap homepage: http://twitter.github.com/bootstrap/index.html*/ | |
| div { | |
| width: 200px; | |
| height: 200px; | |
| display: block; | |
| position: relative; | |
| background: url(images/background-image.png); | |
| } |
NewerOlder
