Skip to content

Commit

Permalink
[fix] update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
rafalbromirski committed Sep 20, 2015
1 parent ac1d551 commit 30e7653
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ It's also a syntactic sugar for the standard media queries [syntax](http://www.w

**Examples**:

```
```scss
@include mq($max-width: 1000px) {
...
}
Expand All @@ -55,12 +55,11 @@ It's also a syntactic sugar for the standard media queries [syntax](http://www.w
@media only screen and (max-width: 1000px) {
...
}
```

Creating new mixins (like `max-screen`) is even easier:

```
```scss
@mixin max-screen($max)
@include mq($max-width: $max) {
@content;
Expand All @@ -82,7 +81,7 @@ Creating new mixins (like `max-screen`) is even easier:

Or if you want to change `$media-type` and other properies:

```
```scss
@mixin custom-device($min, $max)
@include mq($media-type: 'all', $min-width: $min, $max-width: $max) {
@content;
Expand Down

0 comments on commit 30e7653

Please sign in to comment.