Instantly share code, notes, and snippets.
A Pen by David Bullock on CodePen.
CSS sliding sidenav that pushes all of the content to the right. JS used to toggle class. Click anywhere outside of the sidenav menu to close it. Based on Bourbon Refills Sliding Menu. Works in IE11 - IE7.
Auto-sizing grid using nth child selectors. Default grid widths are overridden by odd list item values. No JS required, IE9 and above.