Skip to content

Instantly share code, notes, and snippets.

@JajaHarris
Created December 6, 2014 20:42
Show Gist options
  • Save JajaHarris/693c9cfea2d48bfd284d to your computer and use it in GitHub Desktop.
Save JajaHarris/693c9cfea2d48bfd284d 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_input {
left: 140px;
top: 100px;
position: absolute;
}
#paper_button {
left: 190px;
top: 160px;
position: absolute;
width: 80px;
height: 50px;
}
</style>
<paper-input label="Enter your name..." id="paper_input"></paper-input>
<paper-button id="paper_button">Submit</paper-button>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment