Skip to content

Instantly share code, notes, and snippets.

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

  • Save sandor/4ad4711bce9d0dd0bfe7 to your computer and use it in GitHub Desktop.

Select an option

Save sandor/4ad4711bce9d0dd0bfe7 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../paper-ripple/paper-ripple.html">
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#paper_ripple {
width: 300px;
height: 300px;
left: 450px;
top: 190px;
position: absolute;
}
#section {
width: 420px;
height: 630px;
border: 5px solid rgb(204, 204, 204);
left: 810px;
top: 300px;
}
</style>
<paper-ripple id="paper_ripple"></paper-ripple>
</template>
<script>
Polymer({
});
</script>
</polymer-element><section id="section" layout vertical class="drag-element">
<paper-tabs noink nobar selected="0" selectedindex="0" horizontal center layout>
<paper-tab inline flex center-center horizontal layout active>ITEM ONE</paper-tab>
<paper-tab inline flex center-center horizontal layout>ITEM TWO</paper-tab>
</paper-tabs>
<section flex relative>
</section>
</section>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment