We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71a2b12 commit c74caeaCopy full SHA for c74caea
css-in-javascript/README.md
@@ -138,16 +138,16 @@
138
```js
139
// bad
140
const breakpoints = {
141
- desktop: '@media (min-width: 1048px)',
142
- tablet: '@media (max-width: 1047px)',
143
mobile: '@media (max-width: 639px)',
+ tablet: '@media (max-width: 1047px)',
+ desktop: '@media (min-width: 1048px)',
144
};
145
146
// good
147
148
- large: '@media (min-width: 1048px)',
149
- medium: '@media (max-width: 1047px)',
150
small: '@media (max-width: 639px)',
+ medium: '@media (max-width: 1047px)',
+ large: '@media (min-width: 1048px)',
151
152
```
153
0 commit comments