Skip to content

Instantly share code, notes, and snippets.

@sgerin
Created April 13, 2015 13:41
Show Gist options
  • Save sgerin/90149f151f3313a09014 to your computer and use it in GitHub Desktop.
Save sgerin/90149f151f3313a09014 to your computer and use it in GitHub Desktop.
designer
<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_tabs {
width: 480px;
color: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
left: 280px;
top: 250px;
position: absolute;
background-color: rgb(0, 188, 212);
}
</style>
<paper-tabs noink selected="2" selectedindex="2" id="paper_tabs" horizontal center layout>
<paper-tab id="paper_tab" inline flex center-center horizontal layout>ITEM ONE</paper-tab>
<paper-tab id="paper_tab1" inline flex center-center horizontal layout>ITEM TWO</paper-tab>
<paper-tab id="paper_tab2" inline flex center-center horizontal layout active>ITEM THREE</paper-tab>
<paper-tab id="paper_tab3" inline flex center-center horizontal layout>ITEM FOUR</paper-tab>
<paper-tab id="paper_tab4" inline flex center-center horizontal layout>ITEM FIVE</paper-tab>
</paper-tabs>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment