Skip to content
This repository has been archived by the owner on Jul 14, 2023. It is now read-only.

Commit

Permalink
Fix breakpoint values in README
Browse files Browse the repository at this point in the history
  • Loading branch information
Reda Lemeden committed Sep 22, 2012
1 parent 9292467 commit 120ce1b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -241,14 +241,14 @@ For convenience, you can create a list variable to hold your media context (brea
##### Example 5

.my-class {
@include breakpoint(min-width 481px max-width 761px) {
@include breakpoint(min-width 320px max-width 480px) {
font-size: 1.2em;
}
}

// Compiled CSS

@media screen and (min-width: 481px) and (max-width: 761px) {
@media screen and (min-width: 320px) and (max-width: 480px) {
.my-class {
font-size: 1.2em;
}
Expand All @@ -266,7 +266,7 @@ Here is a summary of possible argument combinations:
@include breakpoint(max-width 480px, 4);
@include breakpoint(min-width 320px max-width 480px, 4);
@include breakpoint(max-width 480px 4); // Shorthand syntax
@include breakpoint(min-width 3200px max-width 480px 4); // Shorthand syntax
@include breakpoint(min-width 320px max-width 480px 4); // Shorthand syntax

// NAY
@include breakpoint(480px 4);
Expand Down

0 comments on commit 120ce1b

Please sign in to comment.