You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: css/readme.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,16 @@
1
1
# CSS
2
2
3
+
## Media queries
4
+
5
+
Media queries allows to define style for a certain configuration only. By default the CSS is used for all configuration. Examples: media="print" media="screen". They can be applied to entire files or group of rules inside the file.
6
+
7
+
### device size or size ?
8
+
9
+
I recommend always using size `@media screen and (min-width: 960px) {`. And never device size `@media screen and (min-device-width: 960px) {`
0 commit comments