Skip to content

Instantly share code, notes, and snippets.

@gpuido
Last active August 29, 2015 14:22
Show Gist options
  • Save gpuido/e3aeefc2ab57e3a5a5ac to your computer and use it in GitHub Desktop.
Save gpuido/e3aeefc2ab57e3a5a5ac to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../paper-button/paper-button.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#chart_js {
width: 300px;
height: 200px;
left: 530px;
top: 270px;
}
#code_mirror {
width: 400px;
height: 300px;
left: 340px;
top: 730px;
}
#google_map {
width: 400px;
height: 400px;
display: block;
left: 440px;
top: 520px;
}
#cool_clock {
width: 400px;
height: 300px;
left: 460px;
top: 550px;
}
#google_map_directions {
left: 350px;
top: 420px;
}
#paper_button {
left: 270px;
top: 150px;
position: absolute;
}
#paper_button1 {
left: 450px;
top: 60px;
position: absolute;
}
#paper_button2 {
left: 740px;
top: 160px;
}
</style>
<paper-button id="paper_button">button</paper-button>
<paper-button id="paper_button1">button</paper-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