-
Notifications
You must be signed in to change notification settings - Fork 289
/
index.html
37 lines (37 loc) · 837 Bytes
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Shower</title>
<style>
body {
margin: 0;
}
</style>
</head>
<body>
<shower-deck>
<shower-slide>
<h2>Slide One</h2>
</shower-slide>
<shower-slide>
<h2>Slide Two</h2>
<style slot="styles">
::slotted(h2) {
color: tomato;
}
</style>
</shower-slide>
<shower-slide>
<h2>Slide Three</h2>
<style slot="styles">
::slotted(h2) {
color: limegreen;
}
</style>
</shower-slide>
</shower-deck>
<script src="deck/deck.js"></script>
<script src="slide/slide.js"></script>
</body>
</html>