Skip to content

Instantly share code, notes, and snippets.

Avatar

Dano Manion danomanion

  • CGI Toys
  • Englewood, Colorado
  • Twitter @danomanion
View GitHub Profile
@danomanion
danomanion / JS-Ghetto-Tab-Scroll.js
Last active Oct 11, 2015
JS Ghetto Scroll to ID and move 50 pixels up
View JS-Ghetto-Tab-Scroll.js
$(function(){
var win = $(window); //cache your jq objects!
function fixScrollTop(){
win.scrollTop(win.scrollTop() - 50);
}
if(window.location.hash !== ""){
@danomanion
danomanion / .jQuery Slideshow Readme.md
Last active Dec 14, 2015
Messing around with this to see if it will be a useful snippet repository.
@danomanion
danomanion / .jQuery for Designers Code Examples
Last active Dec 14, 2015
jQuery for Designers code examples for future reference.
View .jQuery for Designers Code Examples
Code examples from book.
http://my.safaribooksonline.com/book/-/9781849516709
View temp.css
asdsad
asdsa
d
ds
da
s
da
View gist:6092210
<div class="comment-count sticker">
<a href="#disqus_thread" data-disqus-identifier="" class="icon icon--online">Comment</a>
</div>
@danomanion
danomanion / print-hack.css
Last active Sep 14, 2022
Hack to get printers to print your css background images.
View print-hack.css
// Printers don't like you or your background images, so here is a way to get them to like you.
a.logo {
display: list-item;
list-style-image: url("../images/examiner-print-logo.png");
list-style-position: inside;
}
@danomanion
danomanion / hide-cursor.css
Created Aug 27, 2013
Hide the cursor. Webkit code.
View hide-cursor.css
:-webkit-full-screen .slides{
cursor:url(data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==), auto;
}
@danomanion
danomanion / add-this.css
Created Oct 4, 2013
Project Keeping Pace Button Line Height
View add-this.css
#featured a.join-today strong {
line-height: 32px;
}
View Hey Operator.txt
// Assign these to play around with
$a = 1;
$b = 2;
// 1. Assignment operators
$a = $b; // Assign the value of $b to $a
$a += $b; // Assign the value of $a + $b to $a
$a -= $b; // Assign the value of $a - $b to $a
$a .= $b; // Concatenate $a and $b
View susy-notes.md

Notes On Susy

General

  • Susy removes this layer altogether. You can immediately target any css class and apply a grid to it.