Skip to content

Instantly share code, notes, and snippets.

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

  • Save avinashcodes/937089810f0ce35979a8 to your computer and use it in GitHub Desktop.

Select an option

Save avinashcodes/937089810f0ce35979a8 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../paper-tabs/paper-tab.html">
<link rel="import" href="../paper-tabs/paper-tabs.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_menu_button {
left: 740px;
top: 330px;
position: absolute;
}
#toolbar {
box-sizing: border-box;
height: 15%;
position: absolute;
color: rgb(255, 255, 255);
font-size: 48px;
left: 230px;
top: 20px;
background-color: rgb(0, 187, 211);
}
#core_ajax {
left: 470px;
top: 230px;
position: static;
background-color: rgb(0, 128, 255);
}
#paper_tab {
left: 140px;
top: 100px;
position: absolute;
}
#paper_ripple {
width: 300px;
height: 300px;
left: 1230px;
top: 310px;
}
#section {
width: 420px;
height: 630px;
border: 5px solid rgb(204, 204, 204);
left: 1290px;
top: 440px;
}
#paper_tabs {
width: 480px;
color: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
left: 610px;
top: 180px;
position: absolute;
background-color: rgb(0, 188, 212);
}
</style>
<paper-tab id="paper_tab">ITEM ONE</paper-tab>
<paper-tabs selected="0" selectedindex="0" id="paper_tabs">
<paper-tab id="paper_tab1" active>ITEM ONE</paper-tab>
<paper-tab id="paper_tab2">ITEM TWO</paper-tab>
<paper-tab id="paper_tab3">ITEM THREE</paper-tab>
<paper-tab id="paper_tab4">ITEM FOUR</paper-tab>
<paper-tab id="paper_tab5">ITEM FIVE</paper-tab>
</paper-tabs>
</template>
<script>
Polymer({
true: true,
raised: false
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment