Skip to content

Instantly share code, notes, and snippets.


David Bullock davidbullock

View GitHub Profile
View CSS-Sliding-Sidenav.markdown

CSS Sliding Sidenav

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.

A Pen by David Bullock on CodePen.


View Pure-CSS-auto-sizing-grid-using-nth-child-selectors.markdown

Pure CSS auto sizing grid using nth child selectors

Auto-sizing grid using nth child selectors. Default grid widths are overridden by odd list item values. No JS required, IE9 and above.

A Pen by David Bullock on CodePen.