Skip to content

Instantly share code, notes, and snippets.

View mattgreenfield's full-sized avatar

Matt Greenfield mattgreenfield

View GitHub Profile
@benjaminparry
benjaminparry / .gitignore
Last active January 3, 2016 17:39
Gitignore
# OSX
.DS_Store
.DS_Store?
.AppleDouble
.LSOverride
Icon
# Other OS generated files
ehthumbs.db
Thumbs.db
@jhogue
jhogue / gist:6370800
Last active December 21, 2015 21:49
Diagnostic CSS rules for finding poorly formed, non-semantic, inaccessible markup on links and buttons, mostly. For more diagnostics, check out http://www.tomato-root.com/sandbox/holmes/ and https://github.com/diagnosticss/diagnosticss
@mixin heydon_rules {
// Adapted from http://coding.smashingmagazine.com/2013/08/20/semantic-css-with-intelligent-selectors/
// I removed the Comic Sans font declaration because, well, I really can't stand it, even in this context
%uglystyle {
display: block !important;
background: pink !important;
padding: 0.5em !important;
color: #000 !important;