Skip to content

Instantly share code, notes, and snippets.

@loghound
Last active August 29, 2015 14:17
Show Gist options
  • Save loghound/e2399988eefacf1d5a98 to your computer and use it in GitHub Desktop.
Save loghound/e2399988eefacf1d5a98 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../paper-button/paper-button.html">
<link rel="import" href="../chart-js/chart-js.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#paper_button {
left: 520px;
top: 180px;
position: absolute;
background-color: rgb(255, 64, 255);
}
#chart_js {
width: 300px;
height: 200px;
left: 690px;
top: 150px;
position: absolute;
}
</style>
<paper-button active toggle id="paper_button">button</paper-button>
<chart-js id="chart_js"></chart-js>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment