文章目录

响应适

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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<!DOCTYPE html>
<html>
<head>
<meta chartset="utf-8">
<title>响应</title>
<meta name="viewport" content="width = device-width,initial-scale=1,user-scalable=yes">
<style type="text/css">

body {
font-size: 20px;
color:blue;
background-color: red;
}

@media (min-width: 768px) and (max-width: 1000px){
body {
font-size: 40px;
color:black;
background-color: blue;
}
}

@media (min-width:1000px) and (max-width: 1024px){
body {
font-size: 60px;
color:red;
background-color: yellow;
}
}

@media (min-width:1024px) and (max-width:1366px){
body {
font-size: 80px;
color:yellow;
background-color: black;
}
}

@media(min-width:1366px){
body {
font-size: 200px;
color:rgba(00,55,66,0.5);
background-color: rgba(100,55,66,0.5);
}
}

</style>
</head>
<body>
响应
</body>
</html>
文章目录
Fork me on GitHub