Skip to content

Instantly share code, notes, and snippets.

@aristot
Created February 26, 2015 21:33
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 aristot/a483c6e1d03cf080484e to your computer and use it in GitHub Desktop.
Save aristot/a483c6e1d03cf080484e to your computer and use it in GitHub Desktop.
designer
<link href="../ace-element/ace-element.html" rel="import">
<link href="../cool-clock/cool-clock.html" rel="import">
<link href="../core-icon-button/core-icon-button.html" rel="import">
<polymer-element name="my-element">
<template>
<style>
#design_host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#ace_element {
width: 400px;
height: 300px;
left: 70px;
top: 40px;
position: absolute;
}
#cool_clock {
width: 400px;
height: 300px;
left: 990px;
top: 220px;
position: absolute;
}
#cool_clock1 {
width: 400px;
height: 300px;
left: 200px;
top: 70px;
position: absolute;
}
#core_icon_button {
left: 850px;
top: 290px;
position: absolute;
}
</style>
<ace-element id="ace_element">function test() {
var x = true;
}</ace-element>
<cool-clock id="cool_clock"></cool-clock>
<cool-clock id="cool_clock1"></cool-clock>
<core-icon-button icon="menu" id="core_icon_button" theme="core-light-theme"></core-icon-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