Last active
August 29, 2015 14:07
-
-
Save maxbaluev/2ee0355f0eafdfab19b6 to your computer and use it in GitHub Desktop.
designer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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; | |
top: 0px; | |
left: 0px; | |
opacity: 0.8; | |
} | |
#section1 { | |
left: 550px; | |
top: 150px; | |
position: absolute; | |
background-color: rgb(255, 255, 141); | |
} | |
#paper_tabs { | |
width: 480px; | |
color: rgb(255, 255, 255); | |
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px; | |
left: 480px; | |
top: 110px; | |
position: absolute; | |
background-color: rgb(0, 188, 212); | |
} | |
</style> | |
<section id="section1" class="top" flex layout horizontal center center-justified hero hero-id="top"> | |
</section> | |
<paper-tabs selected="1" selectedindex="1" id="paper_tabs"> | |
<paper-tab id="paper_tab">ITEM ONE</paper-tab> | |
<paper-tab id="paper_tab1" active>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> | |
</template> | |
<script> | |
Polymer({ | |
}); | |
</script> | |
</polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment