Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

+at-breakpoint with ie-fallback fails at document base #26

Closed
mirisuzanne opened this issue Apr 10, 2012 · 3 comments
Closed

+at-breakpoint with ie-fallback fails at document base #26

mirisuzanne opened this issue Apr 10, 2012 · 3 comments

Comments

@mirisuzanne
Copy link
Member

It's really a sass issue, see comment on: sass/sass#286

Just want to be sure we're tracking it from here.

@edwardoriordan
Copy link

My work around is

.something-just-after-the-body-tag {
  @include at-breakpoint(12 true) {
      //stuff
  }
}

Any more elegant way to do it?

@mirisuzanne
Copy link
Member Author

Well, it's a close call between that and repeating yourself.

.specific-thing {
  @include at-breakpoint(12 true) { ... }
}

.other-thing {
  @include at-breakpoint(12 true) { ... }
}

Your solution gives you fewer media-queries with additional selectors. This keeps your selectors short, but is less DRY.

@mirisuzanne
Copy link
Member Author

This is resolved in susy-next and Sass 3.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants