Skip to content

Commit 224c4de

Browse files
committed
Add a mess
1 parent 0033494 commit 224c4de

18 files changed

+305
-41
lines changed

html/10.html

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
4+
<head>
5+
<meta charset="UTF-8">
6+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
7+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
8+
<title>Document</title>
9+
</head>
10+
11+
<body>
12+
<style>
13+
* {
14+
margin: 0;
15+
padding: 0;
16+
list-style-type: none;
17+
}
18+
19+
ul {
20+
height: 10vh;
21+
width: 100%;
22+
background-color: black;
23+
color: antiquewhite;
24+
}
25+
26+
li {
27+
display: inline;
28+
line-height: 10vh;
29+
float: left;
30+
text-align: center;
31+
width: 100px;
32+
}
33+
34+
.droplist {
35+
overflow: hidden;
36+
display: none;
37+
}
38+
39+
.drop {
40+
display: none;
41+
}
42+
43+
.con:hover .drop {
44+
display: block;
45+
}
46+
</style>
47+
</body>
48+
<ul>
49+
<li>模块1
50+
<ul class="droplist">
51+
<li class="drop">内容</li>
52+
<li class="drop">内容</li>
53+
</ul>
54+
</li>
55+
<li>模块2</li>
56+
</ul>
57+
58+
</html>

html/9.css

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
p{
2+
color: aqua;
3+
}
4+
.marked{
5+
color: beige;
6+
background-color: green;
7+
}
8+
.marked p{
9+
color: yellow;
10+
}
11+
p.marked{
12+
font-size: larger;
13+
background-color:chartreuse;
14+
}

html/9.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
<title>Document</title>
8+
<link rel="stylesheet" href="9.css">
9+
</head>
10+
<body>
11+
<p class="marked">p class="marked"</p>
12+
<div class="marked"> <p>div.marked>p</p></div>
13+
</body>
14+
</html>
7.77 KB
Loading
49.7 KB
Loading

html/ms/gldn-CP-Xbox-Family.jpg

6.1 KB
Loading
4.72 KB
Loading
318 Bytes
Loading
572 Bytes
Loading
344 Bytes
Loading

0 commit comments

Comments
 (0)