Skip to content

Instantly share code, notes, and snippets.

@leonardpitzu
Created July 1, 2014 15:34
Show Gist options
  • Save leonardpitzu/bfd3976aabe04eff9c71 to your computer and use it in GitHub Desktop.
Save leonardpitzu/bfd3976aabe04eff9c71 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: 300px;
top: 50px;
position: absolute;
background-color: rgb(0, 188, 212);
}
</style>
<paper-tabs selected="windrain" selectedindex="2" id="paper_tabs">
<paper-tab id="paper_tab1" name="outdoor">Outdoor</paper-tab>
<paper-tab id="paper_tab4" name="indoor">Indoor</paper-tab>
<paper-tab id="paper_tab3" name="windrain" active>Wind & Rain</paper-tab>
<paper-tab id="paper_tab5" name="forecast">Forecast</paper-tab>
<paper-tab id="paper_tab2" name="history">History</paper-tab>
<paper-tab id="paper_tab6" name="camera">Camera</paper-tab>
<paper-tab id="paper_tab" name="about">About</paper-tab>
</paper-tabs>
</template>
<script>
Polymer('my-element', {
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment