Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <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;
- position: absolute;
- background-color: rgb(255, 255, 255);
- }
- #paper_card {
- position: relative;
- width: 300px;
- height: 400px;
- border-radius: 2px;
- box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
- margin: auto;
- top: 150px;
- background-color: rgb(255, 255, 255);
- }
- #paper_button {
- top: 20px;
- background-color: rgb(223, 223, 223);
- }
- #div1 {
- height: 200px;
- padding: 30px;
- background-color: rgb(76, 175, 80);
- }
- #div {
- position: relative;
- height: 100%;
- padding: 30px;
- }
- #span {
- color: rgb(255, 255, 255);
- font-size: 30px;
- }
- </style>
- <paper-card id="paper_card" layout vertical heading="Emmental">
- <div id="div1" hero>
- <span id="span">Login</span>
- </div>
- <div id="div" vertical layout>
- <paper-input label="Username" floatinglabel id="paper_input"></paper-input>
- <paper-input label="Password" floatinglabel id="paper_input1"></paper-input>
- <paper-button recenteringtouch id="paper_button">Sign</paper-button>
- </div>
- </paper-card>
- </template>
- <script>
- Polymer({
- });
- </script>
- </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement