Skip to content

Instantly share code, notes, and snippets.

View treykane's full-sized avatar

Trey Kane treykane

View GitHub Profile
@treykane
treykane / cookie-n-stuff.js
Created June 24, 2016 16:03
Do some stuff based on the status of a cookie
@treykane
treykane / sticky.css
Last active September 29, 2016 18:55
JQuery - Sticky Element on scroll when it reaches the top of the browser window
.is-sticky {
position: fixed; /* why it sticks */
top: 0; /* can be adjusted as needed */
margin: 0;
z-index: 999; /* be on top of all the things */
}/* is-sticky */

Keybase proof

I hereby claim:

  • I am treykane on github.
  • I am treykane (https://keybase.io/treykane) on keybase.
  • I have a public key ASAsh63tvBHtfNWTYRu9RhxkhtnnK7_az16qKvPnV0_SbQo

To claim this, I am signing this object: