Skip to content

Instantly share code, notes, and snippets.

@brigleb
Last active August 29, 2015 14:04
Show Gist options
  • Save brigleb/c904207a4dc79731af1c to your computer and use it in GitHub Desktop.
Save brigleb/c904207a4dc79731af1c to your computer and use it in GitHub Desktop.
An example of using a basic breakpoint mixin...
body.single-peopleandplaces {
.wrap .photo {
height: ( $photoheight / 2 );
width: 100%;
@include bp(medium) {
height: ( $photoheight * .75 );
width: ( 100% / 2 );
}
@include bp(large) {
height: $photoheight;
width: ( 100% / 3 );
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment