Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9197139
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T22:00:31+00:00 2026-06-17T22:00:31+00:00

Susy is new to me so bare with. I am trying to setup breakpoints

  • 0

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;}
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T22:00:32+00:00Added an answer on June 17, 2026 at 10:00 pm

    Your answer is in the source: https://github.com/ericam/susy/blob/master/sass/susy/_media.scss#L23

    // Nest a block of code inside a new media-query and layout context.
    //
    // $media-layout  : a list of values [$min $layout $max $ie] including...
    //                : - one unitless number (columns in a layout)
    //                : - two optional lengths (min and max-width media-query breakpoints).
    //                : - one optional boolean or string to trigger fallback support for IE.
    // $font-size     : [optional] The base font-size of your layout, if you are using ems.
    //                : - defaults to $base-font-size
    @mixin at-breakpoint(
      $media-layout,
      $font-size: $base-font-size
    ) {
        // stuff
    }
    

    It is also in the documentation: http://susy.oddbird.net/guides/reference/#ref-media-layouts

    // $media-layout: <min-width> <layout> <max-width> <ie-fallback>;
    // - You must supply either <min-width> or <layout>.
    $media-layout: 12;          // Use 12-col layout at matching min-width.
    $media-layout: 30em;        // At min 30em, use closest fitting layout.
    $media-layout: 30em 12;     // At min 30em, use 12-col layout.
    $media-layout: 12 60em;     // Use 12 cols up to max 60em.
    $media-layout: 30em 60em;   // Between min 30em & max 60em, use closest layout.
    $media-layout: 30em 12 60em;// Use 12 cols between min 30em & max 60em.
    $media-layout: 60em 12 30em;// Same. Larger length will always be max-width.
    $media-layout : 12 lt-ie9;  // Output is included under `.lt-ie9` class,
                                // for use with IE conditional comments
                                // on the <html> tag.
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm desperately trying to get a site mocked up with Susy. I fear I
I am new to Susy and I am trying to utilize span-columns mixin however
I would like the header of my site to look like this: [_1_] [____2____]
I just can't figure out what is wrong with my setup with Susy. I
Looking at the susy site , how does it hide .secondary when getting at
In order to get Rails running correctly on my mac I used this site:
Can Susy automatically fill a multi column layout if elements have different widths? What
On the Susy Getting Started page, there's a section marked 'Manual Start' , which
I'm using Susy for my grid layout and want the container to apply grid-padding
When i use sprite into the at-breakpoint($desktop) (susy) the generit sprite background image not

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.