Skip to content

Instantly share code, notes, and snippets.

@ottuzzi
Created July 10, 2014 12:43
Show Gist options
  • Save ottuzzi/ea552d3eda80c91d01f4 to your computer and use it in GitHub Desktop.
Save ottuzzi/ea552d3eda80c91d01f4 to your computer and use it in GitHub Desktop.
designer
<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;
top: 0px;
left: 0px;
}
#paper_button {
left: 0px;
top: 0px;
position: absolute;
width: 100%;
height: 100%;
background-color: rgb(255, 0, 128);
}
</style>
<paper-button label="Paper Button" id="paper_button" vertical layout></paper-button>
</template>
<script>
Polymer('my-element', {
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment