Skip to content

Instantly share code, notes, and snippets.

@pntrivedy
Created August 2, 2014 21:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pntrivedy/33fabac4397cb8396f92 to your computer and use it in GitHub Desktop.
Save pntrivedy/33fabac4397cb8396f92 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../components/polymer/polymer.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#paper_item {
left: 340px;
top: 280px;
position: absolute;
}
#paper_checkbox {
left: 450px;
top: 290px;
position: absolute;
}
</style>
<paper-item label="Item" icon="settings" id="paper_item" center horizontal layout></paper-item>
<paper-checkbox checked label="click me" id="paper_checkbox"></paper-checkbox>
</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