Skip to content

Instantly share code, notes, and snippets.

@francisl
Created July 3, 2014 14:27
Show Gist options
  • Save francisl/41c9eb840b5cd71c7619 to your computer and use it in GitHub Desktop.
Save francisl/41c9eb840b5cd71c7619 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_button {
left: 300px;
top: 140px;
position: absolute;
}
#paper_input {
left: 160px;
top: 90px;
position: absolute;
}
#paper_input1 {
left: 160px;
top: 50px;
position: absolute;
}
</style>
<paper-input label="Your Password" type="password" id="paper_input"></paper-input>
<paper-button label="Paper Button" id="paper_button"></paper-button>
<paper-input label="Username" id="paper_input1"></paper-input>
</template>
<script>
Polymer('my-element', {
password: 'text'
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment