Skip to content

Commit 63b89d4

Browse files
making improvements to media queries examples
1 parent 0847343 commit 63b89d4

File tree

6 files changed

+12
-9
lines changed

6 files changed

+12
-9
lines changed

learn/media-queries/and.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
font-size: 1em;
99
}
1010

11-
@media screen and (min-width: 400px) and (orientation: landscape) {
11+
@media screen and (min-width: 600px) and (orientation: landscape) {
1212
body {
1313
color: blue;
1414
}
@@ -18,11 +18,11 @@
1818

1919
<body>
2020

21-
21+
2222
<p>One November night in the year 1782, so the story runs, two brothers sat over their winter fire in the little French town of Annonay, watching the grey smoke-wreaths from the hearth curl up the wide chimney. Their names were Stephen and Joseph Montgolfier, they were papermakers by trade, and were noted as possessing thoughtful minds and a deep interest in all scientific knowledge and new discovery.</p>
2323
<p>Before that night—a memorable night, as it was to prove—hundreds of millions of people had watched the rising smoke-wreaths of their fires without drawing any special inspiration from the fact.”</p>
2424

2525

2626
</body>
2727

28-
</html>
28+
</html>

learn/media-queries/max-width.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
font-size: 1em;
99
}
1010

11-
@media screen and (max-width: 400px) {
11+
@media screen and (max-width: 600px) {
1212
body {
1313
color: blue;
1414
}
@@ -18,11 +18,11 @@
1818

1919
<body>
2020

21-
21+
2222
<p>One November night in the year 1782, so the story runs, two brothers sat over their winter fire in the little French town of Annonay, watching the grey smoke-wreaths from the hearth curl up the wide chimney. Their names were Stephen and Joseph Montgolfier, they were papermakers by trade, and were noted as possessing thoughtful minds and a deep interest in all scientific knowledge and new discovery.</p>
2323
<p>Before that night—a memorable night, as it was to prove—hundreds of millions of people had watched the rising smoke-wreaths of their fires without drawing any special inspiration from the fact.”</p>
2424

2525

2626
</body>
2727

28-
</html>
28+
</html>

learn/media-queries/or.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
font-size: 1em;
99
}
1010

11-
@media screen and (min-width: 400px), screen and (orientation: landscape) {
11+
@media screen and (min-width: 600px), screen and (orientation: landscape) {
1212
body {
1313
color: blue;
1414
}
@@ -18,11 +18,11 @@
1818

1919
<body>
2020

21-
21+
2222
<p>One November night in the year 1782, so the story runs, two brothers sat over their winter fire in the little French town of Annonay, watching the grey smoke-wreaths from the hearth curl up the wide chimney. Their names were Stephen and Joseph Montgolfier, they were papermakers by trade, and were noted as possessing thoughtful minds and a deep interest in all scientific knowledge and new discovery.</p>
2323
<p>Before that night—a memorable night, as it was to prove—hundreds of millions of people had watched the rising smoke-wreaths of their fires without drawing any special inspiration from the fact.”</p>
2424

2525

2626
</body>
2727

28-
</html>
28+
</html>

learn/media-queries/step1.html

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<head>
44
<meta charset="utf-8" />
55
<title>Media Queries: a simple mobile first design, step 1</title>
6+
<meta name="viewport" content="width=device-width">
67
<style>
78
* {
89
box-sizing: border-box;

learn/media-queries/step2.html

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<head>
44
<meta charset="utf-8" />
55
<title>Media Queries: a simple mobile first design, step 2</title>
6+
<meta name="viewport" content="width=device-width">
67
<style>
78
* {
89
box-sizing: border-box;

learn/media-queries/step3.html

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<head>
44
<meta charset="utf-8" />
55
<title>Media Queries: a simple mobile first design, step 3</title>
6+
<meta name="viewport" content="width=device-width">
67
<style>
78
* {
89
box-sizing: border-box;

0 commit comments

Comments
 (0)