Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../chart-js/chart-js.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<polymer-element name="my-element">
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
#core_menu {
font-size: 16px;
left: 760px;
top: 240px;
position: absolute;
#core_scroll_header_panel {
width: 380px;
height: 460px;
left: 1430px;
top: 820px;
#core_scaffold1 {
right: 0px;
bottom: 0px;
left: 160px;
top: 70px;
background-color: rgb(122, 129, 255);
#core_header_panel1 {
background-color: rgb(255, 255, 255);
#core_toolbar1 {
color: rgb(255, 255, 255);
border: 0px;
background-color: rgb(223, 110, 40);
#core_menu3 {
font-size: 16px;
#chart_js1 {
width: 300px;
height: 200px;
left: 410px;
top: 280px;
position: absolute;
#core_header_panel {
width: 300px;
height: 400px;
left: 110px;
top: 30px;
position: absolute;
#core_toolbar {
color: rgb(255, 255, 255);
background-color: rgb(255, 147, 0);
#section {
height: 1000px;
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230));
<core-menu selected="0" selectedindex="0" id="core_menu">
<core-submenu active label="Topics" icon="settings" valueattr="name" id="core_submenu">
<core-item label="Topic 1" size="24" id="core_item" horizontal center layout></core-item>
<core-item label="Topic 2" size="24" id="core_item1" horizontal center layout></core-item>
<core-submenu label="Favorites" icon="settings" valueattr="name" id="core_submenu1">
<core-item label="Favorite 1" size="24" id="core_item2" horizontal center layout></core-item>
<core-item label="Favorite 2" size="24" id="core_item3" horizontal center layout></core-item>
<core-item label="Favorite 3" size="24" id="core_item4" horizontal center layout></core-item>
<chart-js kind="Bar" id="chart_js1"></chart-js>
<core-header-panel mode="standard" id="core_header_panel">
<core-toolbar id="core_toolbar">
<core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
<div id="div">Header</div>
<section id="section"></section>
Polymer('my-element', {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.