Skip to content

Instantly share code, notes, and snippets.

@suphon-t
Created July 15, 2014 09:53
Show Gist options
  • Save suphon-t/7ef099cbbc310754444d to your computer and use it in GitHub Desktop.
Save suphon-t/7ef099cbbc310754444d to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../paper-checkbox/paper-checkbox.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#div {
left: 550px;
top: 240px;
position: absolute;
}
#paper_checkbox {
left: 670px;
top: 240px;
position: absolute;
}
</style>
<div id="div" layout horizontal>
</div>
<paper-checkbox 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