Skip to content

Instantly share code, notes, and snippets.

@hanfeisun
Last active November 11, 2015 10:29
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 hanfeisun/801ca082df46ea78cd76 to your computer and use it in GitHub Desktop.
Save hanfeisun/801ca082df46ea78cd76 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../paper-input/paper-input.html">
<link rel="import" href="../paper-button/paper-button.html">
<polymer-element name="my-element">
<template>
<style>
:host {
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_card {
position: absolute;
width: 460px;
height: 270px;
border-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
left: 590px;
top: 390px;
background-color: rgb(255, 255, 255);
}
#paper_input {
position: relative;
}
</style>
<core-card id="core_card" layout vertical>
<core-item id="core_item" icon="mail" label center horizontal layout>Subscribe My Email List</core-item>
<paper-input label="Enter Your Email id" floatinglabel id="paper_input"></paper-input>
<paper-button raised id="paper_button">button</paper-button>
</core-card>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment