Skip to content

Instantly share code, notes, and snippets.

@parixitjani
Last active August 29, 2015 14:14
Show Gist options
  • Save parixitjani/dfb50cbced8f92f1e6c9 to your computer and use it in GitHub Desktop.
Save parixitjani/dfb50cbced8f92f1e6c9 to your computer and use it in GitHub Desktop.
designer
<link href="../paper-input/paper-input.html" rel="import">
<polymer-element name="my-element">
<template>
<style>
#design_host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
top: 0px;
left: 0px;
}
#paper_input {
left: 0px;
top: 0px;
opacity: 0.9;
padding: 5px;
margin: 5px;
width: 220px;
height: 50px;
}
</style>
<paper-input label="Type something..." floatinglabel value="Try it" id="paper_input"></paper-input>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment