Skip to content

Instantly share code, notes, and snippets.

@mohan-chinnappan-n
Created August 20, 2014 19:26
Show Gist options
  • Save mohan-chinnappan-n/b6f250df27377b81585c to your computer and use it in GitHub Desktop.
Save mohan-chinnappan-n/b6f250df27377b81585c to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../mohan-dev/mohan-hw.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#mohan_hw {
left: 700px;
top: 380px;
position: absolute;
}
#mohan_hw1 {
left: 650px;
top: 140px;
position: absolute;
}
</style>
<mohan-hw id="mohan_hw">
<span id="span">10</span>
<div id="div">20</div>
<div id="div1">+</div>
<div id="div2">30</div>
</mohan-hw>
<mohan-hw id="mohan_hw1">
<h2 id="h2">Hello Polymer!</h2>
</mohan-hw>
</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