Skip to content

Instantly share code, notes, and snippets.

<div class="ribbon">
<span>LaDart</span>
</div>
@nladart
nladart / gist:6603215
Created September 18, 2013 01:20 — forked from brianblakely/gist:581868
Helpful things to keep in your <head/>
<!DOCTYPE html>
<!-- Helpful things to keep in your <head/>
// Brian Blakely, 360i
// http://twitter.com/brianblakely/
-->
<head>
<!-- Disable automatic DNS prefetching.

Custom Select Menu

A custom select menu without plugins.

//Enlarge all the bacon.
$('.bacon').height(10000).refresh();
@nladart
nladart / content-create.php
Last active December 25, 2015 02:29 — forked from norcross/content-create.php
http://reaktivstudios.com/case-studies/nextdraft/ Can we move the whole NextDraft publishing process into WordPress? Parsing the HTML file into WordPress-structured content As mentioned earlier, Dave’s workflow started with an HTML file with pre-defined markup. Dave wanted to keep this setup because 1.) he was comfortable with it, and 2.) it mad…
<?php
/**
* AJAX call for parsing HTML
*
*/
public function parse_html() {
// get content from textarea
$text = $_POST['content'];
@charset "UTF-8";
/*---------------------------------------------------------------
IE78 - Zurb Foundation 4 Grid
ˍˍˍˍˍˍˍˍˍˍˍˍˍˍˍˍˍˍˍˍˍˍˍˍˍˍˍˍˍˍˍˍˍˍˍˍˍˍˍˍˍˍˍˍˍˍˍˍˍˍˍˍˍˍˍˍˍˍˍˍˍˍˍˍˍ
https://gist.github.com/replete/7082477
(an enhanced fork of https://gist.github.com/zurbchris/5068210 )
1) Make sure $row-width-px = your max large breakpoint row width (e.g. 960px)
@nladart
nladart / Direction-aware-hover-pure-CSS.markdown
Created January 13, 2014 08:36
A Pen by Fabrice Weinberg.
@nladart
nladart / Overflow-Image-Gallery.markdown
Created May 8, 2014 04:08
horizontal scroll on small. Key parts of CSS are white space no wrap and overflow scroll touch

Speed Test: VelocityJS, GSAP, jQuery, and Transit

A reproduction of VelocityJS's "Performance Comparison #1" at http://julian.com/research/velocity/, but using updated GSAP files. Notice how GSAP prioritizes more accurate timing (start/end times) whereas VelocityJS will front-load the tween setup and delay the start (and completion) of the tweens, leading to pauses inbetween loops.

A Pen by GreenSock on CodePen.

License.