Skip to content

Instantly share code, notes, and snippets.

View khamer's full-sized avatar

Kevin Hamer khamer

View GitHub Profile
@khamer
khamer / isItScrollableWithoutVisibleScrollbars.js
Created July 22, 2011 19:04 — forked from jeffturcotte/isItScrollableWithoutVisibleScrollbars.js
a function to check if a certain element is scrollable, but is NOT showing scrollbars. Useful to use as a test for when you might want to implement another scrolling solution, such as iScroll for iPad.
function isItScrollableWithoutVisibleScrollbars(e) {return e&&(e.scrollHeight>e.offsetHeight)&&!(e.offsetWidth>e.scrollWidth);}
hamburgers.txt
Seventeen State Street
Five Guys
The Port Tavern
Lexi's
Loretta's
Port City
@khamer
khamer / input.scss
Created September 17, 2021 19:39 — forked from marcelmoreau/input.scss
Generated by SassMeister.com.
/*
<div class="layer bgWhite">…</div>
<div class="layer bgGold">…</div>
<div class="layer bgWhite">…</div>
<div class="layer bgWhite">…</div>
<div class="layer bgGold">…</div>
*/