Skip to content

Commit b0c9dcc

Browse files
committed
add 6
1 parent d5196e5 commit b0c9dcc

File tree

3 files changed

+61
-0
lines changed

3 files changed

+61
-0
lines changed

html/6.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
h2 {
2+
color:yellow;
3+
}

html/6.html

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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+
<link rel="stylesheet" type="text/css" href="6.css">
10+
<link rel="stylesheet" type="text/css" href="id.css">
11+
<style type="text/css">
12+
p {
13+
color: green;
14+
background-color: brown;
15+
}
16+
</style>
17+
</head>
18+
19+
<body>
20+
<h1 style="color:blue">blue</h1>
21+
<!--inline-->
22+
<p>green</p>
23+
<h2>yellow</h2>
24+
<h3 id="para1">id</h3>
25+
<h3 class="para2">class</h3>
26+
<h3 class="para2 para3 para4">class</h3>
27+
<h3 id="para1" class="para2">id+class</h3>
28+
<h3 id="para5">para5</h3>
29+
<h3 style="text-decoration: underline">underline</h3>
30+
</body>
31+
32+
</html>

html/id.css

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
#para1 {
2+
color: aquamarine;
3+
text-align: center;
4+
}
5+
6+
.para2 {
7+
background-color: rgb(255, 128, 64);
8+
}
9+
10+
.para2.para3.para4 {
11+
color: aqua;
12+
}
13+
14+
body {
15+
background-image: url('9baka&Mayuri.png');
16+
background-repeat: no-repeat;
17+
/*background-size: 30% 30%;*/
18+
background-position: right;
19+
}
20+
.para5 {
21+
text-align: justify;
22+
}
23+
.para6 {
24+
text-align: justify;
25+
text-decoration: underline;
26+
}

0 commit comments

Comments
 (0)