-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
66 lines (57 loc) · 1.8 KB
/
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<title>Poly!!!!</title>
<script src="bower_components/platform/platform.js"></script>
<link rel="import" href="./component/hello-world.html">
<link rel="import" href="./component/data-bind.html">
<link rel="import" href="./component/x-button.html">
<link rel="import" href="./component/light-style.html">
<link rel="import" href="./component/shadow-style.html">
<link rel="import" href="./component/content-style.html">
<link rel="import" href="./component/boot-style.html">
<link rel="import" href="./component/boot-repeat.html">
<style type="text/css">
light-style .shadoww{
color:red;
}
shadow-style::shadow .shadoww{
color: red;
}
shadow-style{
font-size: 2em;
}/*This ovverrides the custom element styling*/
</style>
</head>
<body>
<hello-world></hello-world><hr>
<data-bind></data-bind><hr>
<button is="x-button">Hello World!!</button><hr>
<light-style>
<p class="shadoww">This is the light dom element</p>
</light-style><hr>
<shadow-style>
<p>This is light dom element not colored due to lack of styling :p</p>
</shadow-style><hr>
<shadow-style class="another">
<p>This is light dom element not colored due to lack of styling :p</p>
</shadow-style><hr>
<div class="parent">
<shadow-style>
<p>This is light dom element not colored due to lack of styling :p</p>
</shadow-style>
</div><hr>
<content-style>
<img src="http://cdn.tinybuddha.com/wp-content/uploads/2012/08/Tiny-Buddha.jpg">
<p>This is a sample 1 p tag!!</p>
<footer>
<p>First p tag in footer</p>
<p>Second p tag in footer</p>
</footer>
</content-style><hr>
<!-- With bootstrap and attributes and filters-->
<boot-style first="Contact" second="Krishna" third="gottam"></boot-style><hr>
<boot-repeat></boot-repeat><hr>
</body>
</html>