Skip to content

Instantly share code, notes, and snippets.

@mohan-chinnappan-n
Created August 20, 2014 19:26
Show Gist options
  • Select an option

  • Save mohan-chinnappan-n/b6f250df27377b81585c to your computer and use it in GitHub Desktop.

Select an option

Save mohan-chinnappan-n/b6f250df27377b81585c to your computer and use it in GitHub Desktop.

Revisions

  1. mohan-chinnappan-n revised this gist Aug 20, 2014. No changes.
  2. mohan-chinnappan-n revised this gist Aug 20, 2014. No changes.
  3. mohan-chinnappan-n revised this gist Aug 20, 2014. No changes.
  4. mohan-chinnappan-n created this gist Aug 20, 2014.
    43 changes: 43 additions & 0 deletions designer.html
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,43 @@
    <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>