Skip to content

Instantly share code, notes, and snippets.

@marianpavel
Last active August 29, 2015 14:07
Show Gist options
  • Save marianpavel/3735ebca346e06075788 to your computer and use it in GitHub Desktop.
Save marianpavel/3735ebca346e06075788 to your computer and use it in GitHub Desktop.
designer
<link href="../paper-tabs/paper-tabs.html" rel="import">
<link href="../paper-tabs/paper-tab.html" rel="import">
<link href="../paper-slider/paper-slider.html" rel="import">
<polymer-element name="my-element">
<template>
<style>
#design_host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#paper_tabs {
width: 480px;
background-color: rgb(0, 188, 212);
color: rgb(255, 255, 255);
box-shadow: 0px 3px 2px rgba(0, 0, 0, 0.2);
left: 330px;
top: 50px;
position: absolute;
}
#paper_slider {
left: 540px;
top: 280px;
position: absolute;
}
</style>
<paper-tabs selected="0" selectedindex="0" id="paper_tabs">
<paper-tab id="paper_tab" active>ITEM ONE</paper-tab>
<paper-tab id="paper_tab1">ITEM TWO</paper-tab>
<paper-tab id="paper_tab2">ITEM THREE</paper-tab>
<paper-tab id="paper_tab3">ITEM FOUR</paper-tab>
<paper-tab id="paper_tab4">ITEM FIVE</paper-tab>
</paper-tabs>
<paper-slider value="2" id="paper_slider"></paper-slider>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment