Skip to content

Instantly share code, notes, and snippets.

@DINESHKARPE
Created March 28, 2015 13:23
Show Gist options
  • Save DINESHKARPE/7862ee3faceb88c49746 to your computer and use it in GitHub Desktop.
Save DINESHKARPE/7862ee3faceb88c49746 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../paper-item/paper-item.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_item {
left: 440px;
top: 330px;
position: absolute;
}
#paper_button {
left: 190px;
top: 150px;
position: absolute;
background-color: rgb(46, 87, 238);
}
</style>
<paper-item id="paper_item" icon="settings" label="Item"></paper-item>
<paper-button id="paper_button">Just click me!!!</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