Skip to content

Instantly share code, notes, and snippets.

View darrenkearney's full-sized avatar

Darren Kearney darrenkearney

View GitHub Profile
@mixin breakpoint($point, $size: '') {
$cell_min: 200px;
$cell_max: 599px;
$tablet_min: 600px;
$tablet_max: 1024px;
@if $point == smartphone {
@media only screen and (min-device-width: $cell_min) and (max-device-width: $cell_max) and (orientation: portrait),
only screen and (min-device-width: $cell_min) and (max-device-width: $cell_max) and (orientation: landscape) {