Skip to content

Instantly share code, notes, and snippets.

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

  • Save HaiNguyen007/8657e9b04f0bbb8adaff to your computer and use it in GitHub Desktop.

Select an option

Save HaiNguyen007/8657e9b04f0bbb8adaff to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../paper-icon-button/paper-icon-button.html">
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<link rel="import" href="../paper-button/paper-button.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#paper_button {
left: 310px;
top: 190px;
position: absolute;
}
#paper_tabs {
width: 480px;
color: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
left: 70px;
top: 130px;
position: absolute;
background-color: rgb(0, 188, 212);
}
#paper_icon_button {
left: 460px;
top: 290px;
position: absolute;
}
</style>
<paper-icon-button icon="menu" id="paper_icon_button"></paper-icon-button>
<paper-tabs selected="0" selectedindex="0" id="paper_tabs" horizontal center layout>
<paper-tab id="paper_tab" inline flex center-center horizontal layout active>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>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>
<paper-button id="paper_button">button</paper-button>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment