Skip to content

Instantly share code, notes, and snippets.

@alexey-bass
Last active August 29, 2015 14:07
Show Gist options
  • Save alexey-bass/612672416c0eb403a8c4 to your computer and use it in GitHub Desktop.
Save alexey-bass/612672416c0eb403a8c4 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">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#paper_input {
left: 360px;
top: 250px;
position: absolute;
}
#paper_input1 {
left: 360px;
top: 310px;
position: absolute;
}
#paper_button {
left: 490px;
top: 390px;
position: absolute;
}
</style>
<paper-input label="Password" willvalidate validationmessage="Please fill out this field." required id="paper_input1" layout vertical></paper-input>
<paper-input label="Username" willvalidate validationmessage="Please fill out this field." required id="paper_input" layout vertical></paper-input>
<paper-button label="Login" raised z="0" disabled id="paper_button"></paper-button>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment