Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View danomanion's full-sized avatar

LaminarRainbow danomanion

View GitHub Profile
@danomanion
danomanion / JS-Ghetto-Tab-Scroll.js
Last active October 11, 2015 13:47
JS Ghetto Scroll to ID and move 50 pixels up
$(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 December 14, 2015 17:49
Messing around with this to see if it will be a useful snippet repository.

Readme:

Hello.

@danomanion
danomanion / .jQuery for Designers Code Examples
Last active December 14, 2015 23:49
jQuery for Designers code examples for future reference.
Code examples from book.
http://my.safaribooksonline.com/book/-/9781849516709
@danomanion
danomanion / temp.css
Created May 31, 2013 18:33
temp images
asdsad
asdsa
d
ds
da
s
da
@danomanion
danomanion / gist:6092210
Created July 26, 2013 21:01
Comment HTML
<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 September 14, 2022 23:43
Hack to get printers to print your css background images.
// 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 August 27, 2013 03:12
Hide the cursor. Webkit code.
:-webkit-full-screen .slides{
cursor:url(data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==), auto;
}
@danomanion
danomanion / add-this.css
Created October 4, 2013 04:00
Project Keeping Pace Button Line Height
#featured a.join-today strong {
line-height: 32px;
}
// 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

Notes On Susy

General

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