Skip to content

Instantly share code, notes, and snippets.

View nlebert-linux's full-sized avatar

Nathan LeBert nlebert-linux

View GitHub Profile

Keybase proof

I hereby claim:

  • I am nlebert-linux on github.
  • I am nathanlebert (https://keybase.io/nathanlebert) on keybase.
  • I have a public key ASBCq3cj-2K-HtfhHcDXSlSqV2nEDxh8mJweunmGVF5ymgo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am nlebert-linux on github.
  • I am rambleboi (https://keybase.io/rambleboi) on keybase.
  • I have a public key ASCdVNKZ-po5D8fcZx1RFxNj08PPX6Bqb3BSznXxDf1HUgo

To claim this, I am signing this object:

@nlebert-linux
nlebert-linux / find_overflow_elements
Created May 18, 2015 21:48
Find HTML elements that are causing overflow and expanding the viewport.
// custom node array iteration function
var nodeArray = function (array, callback, scope) {
for (var i=0; i < array.length; i++) {
callback.call(scope, i, array[i]); // Return each element
}
}
// Document Width
docWidth = document.documentElement.offsetWidth;
nodes = document.querySelectorAll('*');
@nlebert-linux
nlebert-linux / firefox_inline-block.css
Created November 19, 2014 20:36
Firefox Inline-Block Fix
#testimonials-wrapper {
margin: 0 -5px;
column-count: 4;
column-gap: 0;
column-fill: auto;
-webkit-column-count: 4;
-webkit-column-gap: 0;
-webkit-column-fill: auto;
-moz-column-count: 4;
-moz-column-gap: 0;