Skip to content

Instantly share code, notes, and snippets.

@faizmalkani
Created August 12, 2014 09:01
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 faizmalkani/d284b0165bc1c30664c0 to your computer and use it in GitHub Desktop.
Save faizmalkani/d284b0165bc1c30664c0 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../core-item/core-item.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#div {
left: 170px;
top: 230px;
position: absolute;
}
#div1 {
left: 610px;
top: 370px;
position: absolute;
}
#section {
width: 420px;
height: 630px;
border: 5px solid rgb(204, 204, 204);
left: 1450px;
top: 570px;
}
#smoothie_chart {
left: 620px;
top: 180px;
position: absolute;
}
#notification_alert {
left: 580px;
top: 400px;
position: absolute;
}
#notification_alert1 {
left: 20px;
top: 50px;
position: absolute;
}
#code_mirror {
width: 400px;
height: 300px;
left: 1510px;
top: 540px;
}
#ace_element {
width: 400px;
height: 300px;
left: 1380px;
top: 580px;
}
#speech_mic {
left: 1450px;
top: 480px;
}
#core_submenu {
left: 260px;
top: 160px;
position: absolute;
}
</style>
<core-submenu id="core_submenu" icon="settings" label="Topics">
<core-item id="core_item" label="Topic 1" horizontal center layout></core-item>
<core-item id="core_item1" label="Topic 2" horizontal center layout></core-item>
</core-submenu>
</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