Skip to content

Instantly share code, notes, and snippets.

@brain64bit
Created August 21, 2014 15:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brain64bit/4d4187f2515386b42049 to your computer and use it in GitHub Desktop.
Save brain64bit/4d4187f2515386b42049 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-pages/core-pages.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_pages {
width: 400px;
height: 400px;
border: 1px solid silver;
left: 20px;
top: 20px;
position: absolute;
}
#section {
border: 1px solid black;
background-color: rgb(237, 255, 191);
}
</style>
<core-pages id="core_pages" selected="0" notap>
<section id="section" active center vertical layout center-justified>
</section>
<section id="section1">Page Two</section>
</core-pages>
</template>
<script>
Polymer('my-element', {
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment