String|Number$phone-max-width: 47.9375em !default;String|Number$tablet-min-width: 48em !default;String|Number$tablet-max-width: 64em !default;String|Number$desktop-min-width: 64.0625em !default;String|Number$large-desktop-min-width: 80em !default;mixin@mixin phone-media { … }@use "@react-md/core";
.example {
background-color: red;
@include core.phone-media {
color: blue;
}
}mixin@mixin tablet-media { … }@use "@react-md/core";
.example {
display: flex;
flex-direction: column;
@include core.tablet-media {
flex-direction: row;
}
}mixin@mixin tablet-only-media { … }@use "@react-md/core";
.example {
background-color: red;
@include core.tablet-only-media {
color: blue;
}
}mixin@mixin desktop-media { … }@use "@react-md/core";
.example {
width: 100%;
@include core.desktop-media {
width: 33%;
}
}mixin@mixin large-desktop-media { … }@use "@react-md/core";
.example {
width: 100%;
@include core.large-desktop-media {
width: 33%;
}
}mixin@mixin media($type) { … }mixin@mixin media-or-media-query($type-or-media-query) { … }The default phone max width media query. This should match the
phoneMaxWidth value on the AppSizeProvider.
The default tablet min width media query. This should match the
tabletMinWidth value on the AppSizeProvider.
The default tablet max width media query. This should match the
tabletMaxWidth value on the AppSizeProvider.
The default desktop min width media query. This should match the
desktopMinWidth value on the AppSizeProvider.
The default large desktop min width media query. This should match the
largeDesktopMinWidth value on the AppSizeProvider.
Applies styles for phones only.
Note: This will need to be included at the end of a block with the new Sass rules or prefix styles with & {}
Applies styles when the viewport is at least as wide as a tablet's min width.
Note: This will need to be included at the end of a block with the new Sass rules or prefix styles with & {}
Applies styles for tablets only.
Note: This will need to be included at the end of a block with the new Sass rules or prefix styles with & {}
Applies styles when the viewport is at least as wide as a desktop's min width.
Note: This will need to be included at the end of a block with the new Sass rules or prefix styles with & {}
Applies styles when the viewport is at least as wide as a large desktop's min width.
Note: This will need to be included at the end of a block with the new Sass rules or prefix styles with & {}
Applies one of the media queries.
Note: This will need to be included at the end of a block with the new Sass rules or prefix styles with & {}
This should be one of phone, tablet,
tablet-only, desktop, or large-desktop
Applies one of the media queries.
Note: This will need to be included at the end of a block with the new Sass rules or prefix styles with & {}
This should be one of phone, tablet,
tablet-only, desktop, or large-desktop or a generic media query