Skip to content

Commit 184ec05

Browse files
authored
Update media-queries-before.html
Same issue as previously, the before code had parts of the after code in it.
1 parent c675c1a commit 184ec05

File tree

1 file changed

+2
-19
lines changed

1 file changed

+2
-19
lines changed

examples/Lecture23/media-queries-before.html

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -26,27 +26,10 @@
2626
}
2727

2828
/********** Large devices only **********/
29-
@media (min-width: 1200px) {
30-
#p1 {
31-
width: 80%;
32-
}
33-
#p2 {
34-
width: 150px;
35-
height: 150px;
36-
}
37-
}
29+
3830

3931

4032
/********** Medium devices only **********/
41-
@media (min-width: 992px) and (max-width: 1199px) {
42-
#p1 {
43-
width: 50%;
44-
}
45-
#p2 {
46-
width: 100px;
47-
height: 100px;
48-
}
49-
}
5033

5134

5235
</style>
@@ -58,4 +41,4 @@ <h1>Media Queries</h1>
5841
<p id="p2"></p>
5942

6043
</body>
61-
</html>
44+
</html>

0 commit comments

Comments
 (0)