Skip to content

Instantly share code, notes, and snippets.

@cmarkle27
Created September 17, 2014 17:43
Show Gist options
  • Save cmarkle27/c4537befc88cb650eadd to your computer and use it in GitHub Desktop.
Save cmarkle27/c4537befc88cb650eadd to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../chart-js/chart-js.html">
<link rel="import" href="../cool-clock/cool-clock.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#chart_js {
width: 740px;
height: 430px;
left: 430px;
top: 180px;
position: absolute;
}
#cool_clock {
width: 400px;
height: 300px;
left: 1150px;
top: 40px;
position: absolute;
}
</style>
<chart-js kind="Bar" id="chart_js"></chart-js>
<cool-clock skin="Babosa" id="cool_clock"></cool-clock>
</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