Skip to content

Instantly share code, notes, and snippets.

@bacanu
Last active August 29, 2015 14:14
Show Gist options
  • Select an option

  • Save bacanu/a70c08f2f50bc55c648f to your computer and use it in GitHub Desktop.

Select an option

Save bacanu/a70c08f2f50bc55c648f to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../ace-element/ace-element.html">
<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;
}
#ace_element {
width: 400px;
height: 300px;
left: 200px;
top: 110px;
position: absolute;
}
#ace_element1 {
width: 400px;
height: 300px;
left: 210px;
top: 90px;
position: absolute;
}
#section {
box-sizing: border-box;
width: 420px;
height: 630px;
left: 1090px;
top: 420px;
background-color: rgb(255, 255, 141);
}
#paper_button {
left: 200px;
top: 60px;
position: absolute;
}
</style>
<ace-element id="ace_element1">function test() {
var x = true;
}</ace-element>
<ace-element id="ace_element">function test() {
var x = true;
}</ace-element>
<paper-button id="paper_button">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