Skip to content

Instantly share code, notes, and snippets.

@cancabron
Last active August 29, 2015 14:20
Show Gist options
  • Save cancabron/4d57f1a0cf2b7e807ee4 to your computer and use it in GitHub Desktop.
Save cancabron/4d57f1a0cf2b7e807ee4 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;
}
#core_menu {
font-size: 16px;
left: 1720px;
top: 600px;
}
#paper_tabs1 {
width: 480px;
color: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
left: 520px;
top: 0px;
position: absolute;
background-color: rgb(0, 188, 212);
}
#section {
left: 920px;
top: 570px;
position: absolute;
}
#section1 {
box-sizing: border-box;
width: 420px;
height: 630px;
left: 0px;
top: 0px;
position: absolute;
background-color: rgb(255, 255, 141);
}
#div {
box-sizing: border-box;
position: relative;
height: 150px;
width: 150px;
color: rgb(255, 255, 255);
font-size: 100px;
background-color: rgb(255, 235, 59);
}
</style>
<section id="section"></section>
<paper-tabs selected="2" selectedindex="2" id="paper_tabs1" horizontal center layout>
<paper-tab id="paper_tab2" inline flex center-center horizontal layout>ITEM ONE</paper-tab>
<paper-tab id="paper_tab3" inline flex center-center horizontal layout>ITEM TWO</paper-tab>
<paper-tab id="paper_tab4" inline flex center-center horizontal layout active>ITEM THREE</paper-tab>
</paper-tabs>
<section id="section1" layout vertical center center-justified>
<div id="div" hero layout vertical center center-justified>
<span id="span">+8</span>
</div>
</section>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment