Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 320dbe4

Browse files
authored
Grammar and formatting.
1 parent 35cd2b1 commit 320dbe4

File tree

1 file changed

+2
-2
lines changed
  • guides/v2.1/frontend-dev-guide/responsive-web-design

1 file changed

+2
-2
lines changed

guides/v2.1/frontend-dev-guide/responsive-web-design/rwd_css.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ The Blank and Luma theme styles are based on the [Magento UI library]. The libra
4444

4545
The approach implemented in the Magento UI library, uses `@media-common` style group separation and `.media-width()` mixins which can be used in any `.less` file in a theme, as many times as needed, but it is invoked only once, in `lib/web/css/source/lib/_responsive.less`. The resulting `styles-m.css` and `styles-l.css` both have only one call of each media query with all the rules there, instead of multiple calls for the same query.
4646

47-
- CSS added in Media queries condition `@media-common`, max `screen__s` and max `screen__m` it will add in styles-m.css
48-
- CSS added Media queries condition in min `screen__m` and min `screen__l` it will add in styles-l.css
47+
- Media queries `@media-common`, `max screen__s` and `max screen__m` will be added to `styles-m.css`.
48+
- Media queries `min screen__m` and `min screen__l` will be added to `styles-l.css`.
4949

5050
If working on a theme which inherits from either the Blank or Luma theme, it's recommended to use `.media-width()` and style groups separation. Otherwise the style rules will be added twice, once to `styles-m.css` and once more to `styles-l.css`.
5151

0 commit comments

Comments
 (0)