Skip to content

Instantly share code, notes, and snippets.

View matiasdoyle's full-sized avatar

Matias Doyle matiasdoyle

View GitHub Profile

Keybase proof

I hereby claim:

  • I am matiasdoyle on github.
  • I am matiasdoyle (https://keybase.io/matiasdoyle) on keybase.
  • I have a public key ASCnvVygSk8bTBmhb5XDuBrFI7X_7aft0f0OOCp96OHRbQo

To claim this, I am signing this object:

// Found in the Trello CSS style guide
// https://gist.github.com/bobbygrace/9e961e8982f42eb91b80
@highdensity: ~"only screen and (-webkit-min-device-pixel-ratio: 1.5)",
~"only screen and (min--moz-device-pixel-ratio: 1.5)",
~"only screen and (-o-min-device-pixel-ratio: 3/2)",
~"only screen and (min-device-pixel-ratio: 1.5)";
@small: ~"only screen and (max-width: 750px)";
@medium: ~"only screen and (min-width: 751px) and (max-width: 900px)";
/**
* Apply border box to all element while maintaining box-sizing inheritance
* From: https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/
*/
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }