Susy is new to me so bare with. I am trying to setup breakpoints for my page
This is the demo code on the site documentation
// at-breakpoint(<$media-layout> [, <$font-size>]) { <@content> }
@include at-breakpoint(30em 12) {
.page { @include container; }
}
What I dont understand is what the 30em and 12 represent, I want to setup a media query for when the page is so wide, ideally mobile phone size to start and. How would I go about doing this with sussy?
UPDATE
I dont quite understand the syntax even after reading the documentation, I have tried writing, but i get a sass error. How would I write at 30em use a 12col grid?
@mixin at-breakpoint($media-layout: 30em 12, $base-font-size){
#mastHead{background: red;}
}
Your answer is in the source: https://github.com/ericam/susy/blob/master/sass/susy/_media.scss#L23
It is also in the documentation: http://susy.oddbird.net/guides/reference/#ref-media-layouts