-
Notifications
You must be signed in to change notification settings - Fork 0
/
question-five.html
60 lines (56 loc) · 1.9 KB
/
question-five.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<!DOCTYPE html>
<html lang="en">
<head>
<title>
Question Five - The Quirks of Shadow DOM and How to Take Advantage of Them
</title>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="./common-styles.css" />
<script src="./questions/question-five.js" type="module"></script>
</head>
<body>
<header>
<nav>
<a href="./">Home</a>
<a href="./question-one.html">Q1</a>
<a href="./question-two.html">Q2</a>
<a href="./question-three.html">Q3</a>
<a href="./question-four.html">Q4</a>
<a href="./question-five.html" class="active">Q5</a>
</nav>
</header>
<main>
<h1>The Quirks of Shadow DOM and How to Take Advantage of Them</h1>
<h2>
Question Five - Shadow Parts
</h2>
<style>
question-five.custom-part::part(avatar) {
border-radius: 50%;
}
question-five.custom-part::part(name) {
font-family: Verdana;
color: mediumpurple;
}
</style>
<question-five></question-five>
<question-five class="custom-part"></question-five>
</main>
<footer>
<section>
<h2>
Articles:
</h2>
<ul>
<li><a hreflang="en" target="_blank" rel="noopener noreferrer" href="https://dev.to/alangdm/the-quirks-of-shadow-dom-and-how-to-take-advantage-of-them-4cd1">English Article</a></li>
<li><a hreflang="ja" target="_blank" rel="noopener noreferrer" href="https://qiita.com/alangdm/items/cec32f21151a9da3c3f2" lang="ja">日本語記事</a></li>
</ul>
<p>
<a hreflang="en" target="_blank" rel="noopener noreferrer" href="https://github.com/alangdm/shadow-dom-quiz">Github</a>
</p>
</section>
</footer>
</body>
</html>