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-view1">
- <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">1</div>
- <h1>Registrasi</h1>
- <form action="#"method="#">
- <label>Nama Lengkap</label>
- <input type="text" name="namalkp" placeholder="Nama Lengkap .."required>
- <label>Email</label>
- <input type="email" name="email" placeholder="Email .."required>
- <label>Pasword</label>
- <input type="password" name="password"placeholder="Password .."required>
- <label>Jenis Kelamin</label>
- <select id="jkel" name="jkel">
- <option value="laki">Laki-laki</option>
- <option value="perempuan">Perempuan</option>
- <option value="lain">Lainnya</option>
- </select>
- <label>Alamat</label>
- <textarea name="alamat" placeholder="Write something .."></textarea>
- <input type="submit" value="Submit">
- </form>
- </div>
- </template>
- <script>
- class MyView1 extends Polymer.Element {
- static get is() { return 'my-view1'; }
- }
- window.customElements.define(MyView1.is, MyView1);
- </script>
- </dom-module>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement