From 30a1bcc4a566c94d75753e313e2193d57a1ee14e Mon Sep 17 00:00:00 2001 From: Praveen Puglia Date: Wed, 14 Mar 2018 20:46:53 +0530 Subject: [PATCH] shadow dom example 1 --- examples/01-creating-shadow-dom.html | 49 ++++++++++++++++++++++++++++ examples/styles.css | 24 ++++++++++++++ 2 files changed, 73 insertions(+) create mode 100644 examples/01-creating-shadow-dom.html create mode 100644 examples/styles.css diff --git a/examples/01-creating-shadow-dom.html b/examples/01-creating-shadow-dom.html new file mode 100644 index 0000000..75401dc --- /dev/null +++ b/examples/01-creating-shadow-dom.html @@ -0,0 +1,49 @@ + + + + + + + + 01 - Creating Shadow Dom + + + +

Open DevTools 🔨

+

Check the code for instructions

+ + + +
+ + + + + \ No newline at end of file diff --git a/examples/styles.css b/examples/styles.css new file mode 100644 index 0000000..a24321a --- /dev/null +++ b/examples/styles.css @@ -0,0 +1,24 @@ +/*============================================= += Reset = +=============================================*/ + +* { + margin: 0; + padding: 0; + box-sizing: border-box; + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, + Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; +} + +/*===== End of Reset ======*/ + +/*============================================= += Layout = +=============================================*/ + +body { + max-width: 1200px; + margin: auto; +} + +/*===== End of Layout ======*/