Skip to content

Instantly share code, notes, and snippets.

@hsHemant
Created October 30, 2015 11:14
Show Gist options
  • Save hsHemant/c340fa0deea26802b832 to your computer and use it in GitHub Desktop.
Save hsHemant/c340fa0deea26802b832 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../paper-input/paper-input.html">
<link rel="import" href="../paper-button/paper-button.html">
<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_card {
position: absolute;
width: 300px;
height: 300px;
border-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
left: 680px;
top: 70px;
background-color: rgb(255, 255, 255);
}
#core_pages {
width: 400px;
height: 400px;
border: 1px solid silver;
left: 130px;
top: 80px;
position: absolute;
}
</style>
<core-card id="core_card" layout vertical>
<section id="section4"></section>
<section id="section5"></section>
<paper-input label="Type something..." value="sdfas" committedvalue="sdfas" id="paper_input"></paper-input>
<paper-button id="paper_button">button</paper-button>
<paper-button id="paper_button1">button</paper-button>
</core-card>
<core-pages selected="0" selectedindex="0" notap id="core_pages">
<section id="section" active>Page One</section>
<section id="section1">Page Two</section>
</core-pages>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment