Skip to content

Instantly share code, notes, and snippets.

@hariprasadiit
Last active August 29, 2015 14:16
Show Gist options
  • Save hariprasadiit/d531b2c00e24d7e198cb to your computer and use it in GitHub Desktop.
Save hariprasadiit/d531b2c00e24d7e198cb 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;
margin: auto;
}
#core_card {
position: absolute;
width: 70%;
height: 100%;
border-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
margin: auto;
background-color: rgb(255, 255, 255);
}
#core_toolbar {
right: 0px;
left: 1190px;
color: rgb(255, 255, 255);
fill: rgb(255, 255, 255);
top: -70px;
background-color: rgb(79, 125, 201);
}
#paper_tabs {
width: 480px;
color: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
margin-right: 10px;
background-color: rgb(97, 172, 111);
}
</style>
<core-card id="core_card" layout vertical>
<paper-tabs noink selected="2" selectedindex="2" id="paper_tabs" horizontal center layout>
<paper-tab id="paper_tab" inline flex center-center horizontal layout>Home</paper-tab>
<paper-tab id="paper_tab1" inline flex center-center horizontal layout>FAQ</paper-tab>
<paper-tab id="paper_tab2" inline flex center-center horizontal layout active>Contact</paper-tab>
</paper-tabs>
</core-card>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment