-
Notifications
You must be signed in to change notification settings - Fork 0
/
media.html
38 lines (31 loc) · 1 KB
/
media.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
body {
background-color: rgb(0, 0, 0);
}
@media only screen and (max-width: 500px) {
body {
background-color: rgb(39, 0, 212);
}
}
h1{
text-align: center;
color: white
}
</style>
</head>
<body>
<marquee width="60%" direction="left" height="100px" text-align="center" color="#f1f1f1">
<h1>Exmaple of media query in webpage</h1>
</marquee>
<h1> Welcome to the example of media query </h1>
<h1>
Nagpur is a large city in the central Indian state of Maharashtra. The 19th-century Nagpur Central Museum displays items found locally, including fossils, sarcophagi and Mughal weaponry. The Raman Science Centre has hands-on exhibits and a planetarium. Sitabuldi Fort, in the Sitabuldi Hills, was the site of an 1817 battle. To the southwest, the immense, domed Deekshabhoomi is a Buddhist monument and pilgrimage site.
</h1>
</p>
<p></p>
</body>
</html>