Skip to content

Commit 0c9abc8

Browse files
author
Walle Cyril
committed
CSS Media queries
1 parent 60216cb commit 0c9abc8

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

css/readme.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# CSS
22

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) {`
10+
11+
12+
13+
314
## Awesome CSS tricks
415

516
https://github.com/you-dont-need/You-Dont-Need-JavaScript

0 commit comments

Comments
 (0)