Skip to content

Commit

Permalink
fix(Media queries DOC): Brought back media queries mixin links
Browse files Browse the repository at this point in the history
  • Loading branch information
TautvydasDerzinskas committed Dec 3, 2017
1 parent 1ae2a19 commit 5c3096b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 45 deletions.
17 changes: 2 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,26 +182,13 @@ Usage:
- `Variables:`
> 🔖 `$usb-grid-breakpoints` - array holding breakpoints sizes (for default value look below)
```scss
$usb-grid-breakpoints: (
xs: 0,
sm: 576px,
md: 768px,
lg: 992px,
xl: 1200px,
xxl: 1330px
);
$usb-grid-breakpoints: ( xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px, xxl: 1330px);
```

Usage:
```scss
.element {
width: 100px;
height: 100px;
background-color: black;

@include usb-media-xs() {
background-color: white;
};
@include usb-media-xs() { background-color: white; };
}
```

Expand Down
17 changes: 2 additions & 15 deletions docs/features.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,26 +128,13 @@ Usage:
- `Variables:`
> 🔖 `$usb-grid-breakpoints` - array holding breakpoints sizes (for default value look below)
```scss
$usb-grid-breakpoints: (
xs: 0,
sm: 576px,
md: 768px,
lg: 992px,
xl: 1200px,
xxl: 1330px
);
$usb-grid-breakpoints: ( xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px, xxl: 1330px);
```

Usage:
```scss
.element {
width: 100px;
height: 100px;
background-color: black;

@include usb-media-xs() {
background-color: white;
};
@include usb-media-xs() { background-color: white; };
}
```

Expand Down
2 changes: 2 additions & 0 deletions src/_usb-mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* - [Flex order](#flex-order)
* - [Gradient](#gradient)
* - [Animation and keyframes](#animation-and-keyframes)
* - [Media queries](#media-queries)
* - [Opacity](#opacity)
* - [Parallax background](#parallax-background)
* - [Placeholder](#placeholder)
Expand All @@ -21,6 +22,7 @@
@import "mixins/usb-mixin-flex-order";
@import "mixins/usb-mixin-gradient";
@import "mixins/usb-mixin-keyframes";
@import "mixins/usb-mixin-media";
@import "mixins/usb-mixin-opacity";
@import "mixins/usb-mixin-parallax-background";
@import "mixins/usb-mixin-placeholder";
Expand Down
17 changes: 2 additions & 15 deletions src/mixins/_usb-mixin-media.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,13 @@
* - `Variables:`
* > 🔖 `$usb-grid-breakpoints` - array holding breakpoints sizes (for default value look below)
* ```scss
* $usb-grid-breakpoints: (
* xs: 0,
* sm: 576px,
* md: 768px,
* lg: 992px,
* xl: 1200px,
* xxl: 1330px
* );
* $usb-grid-breakpoints: ( xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px, xxl: 1330px);
* ```
*
* Usage:
* ```scss
* .element {
* width: 100px;
* height: 100px;
* background-color: black;
*
* @include usb-media-xs() {
* background-color: white;
* };
* @include usb-media-xs() { background-color: white; };
* }
* ```
*/
Expand Down

0 comments on commit 5c3096b

Please sign in to comment.