Skip to content

Commit 0147fb4

Browse files
committed
Rename and format file
1 parent e093420 commit 0147fb4

File tree

2 files changed

+43
-35
lines changed

2 files changed

+43
-35
lines changed
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<title>Combinators — Descendant</title>
6+
<link rel="stylesheet" href="../../../../styles/reset.css">
7+
<link rel="stylesheet" href="../../../../styles/base.css">
8+
<style>
9+
div em {
10+
border: 1px solid #ddd;
11+
}
12+
</style>
13+
</head>
14+
<body>
15+
<header>
16+
<h1>The Descendant Combinator</h1>
17+
<p>All <code>em</code> elements that descend from a <code>div</code> element get a grey border.</p>
18+
</header>
19+
<main>
20+
<p>Paragraph <em>1</em></p>
21+
<div>
22+
<ul>
23+
<li>Item 1</li>
24+
<li>Item <em>2</em></li>
25+
<li>
26+
<ul>
27+
<li>Item <em>2.1</em></li>
28+
</ul>
29+
</li>
30+
</ul>
31+
<ol>
32+
<li>Item 1</li>
33+
<li>Item <em>2</em></li>
34+
<li>
35+
<ol>
36+
<li>Item <em>2.1</em></li>
37+
</ol>
38+
</li>
39+
</ol>
40+
</div>
41+
</main>
42+
</body>
43+
</html>

tutorials/css/combinators/descendant/index.txt

Lines changed: 0 additions & 35 deletions
This file was deleted.

0 commit comments

Comments
 (0)