Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--
- @license
- Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
- This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
- The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
- The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
- Code distributed by Google as part of the polymer project is also
- subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
- -->
- <link rel="import" href="../bower_components/polymer/polymer-element.html">
- <link rel="import" href="shared-styles.html">
- <dom-module id="my-view2">
- <template>
- <style include="shared-styles">
- :host {
- display: block;
- padding: 10px;
- }
- input[type=text], [type=email], [type=password], select, textarea {
- width: 100%;
- padding: 12px 20px;
- margin: 8px 0;
- display: inline-block;
- border: 1px solid #ccc;
- border-radius: 4px;
- box-sizing: border-box;
- }
- input[type=submit]{
- width: 100%;
- background-color: #4CAF50;
- color: white;
- padding: 14px 20px;
- margin: 8px 0;
- border: none;
- border-radius: 4px;
- cursor: pointer;
- }
- input[type=submit]:hover{
- background-color: #45a049;
- }
- </style>
- <div class="card">
- <div class="circle">2</div>
- <h1>Login</h1>
- <form>
- <label>Username</label>
- <input type="text" name="username" placeholder="Username atau Email .."required>
- <label>Pasword</label>
- <input type="text" name="password" placeholder="Password .."required>
- <input type="submit" value="Login">
- </form>
- </div>
- </template>
- <script>
- class MyView2 extends Polymer.Element {
- static get is() { return 'my-view2'; }
- }
- window.customElements.define(MyView2.is, MyView2);
- </script>
- </dom-module>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement