Skip to content

Instantly share code, notes, and snippets.

@Xect
Created April 13, 2015 15:46
Show Gist options
  • Save Xect/6d33f2527fbf406e4752 to your computer and use it in GitHub Desktop.
Save Xect/6d33f2527fbf406e4752 to your computer and use it in GitHub Desktop.
designer
<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">
<template>
<style>
#core_header_panel {
width: 100%;
height: 100%;
left: 0px;
top: 0px;
position: absolute;
font-family: 'Roboto Condensed', sans-serif;
}
#core_toolbar {
color: rgb(255, 255, 255);
background-color: rgb(0, 0, 0);
}
#section {
height: 1000px;
background: linear-gradient(rgb(50, 50, 50), rgb(10, 10, 10));
}
#core_card {
position: absolute;
width: 85%;
height: 300px;
border-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
margin: 50px;
padding: 50px;
background-color: rgb(23, 23, 23);
}
#core_image {
position: absolute;
width: 50%;
height: 50%;
}
</style>
<core-header-panel mode="standard" id="core_header_panel">
<core-toolbar id="core_toolbar">
<div id="div">xectron.com</div>
</core-toolbar>
<section id="section">
<core-card id="core_card" layout vertical>
<core-image id="core_image" src="https://www.google.com/images/srpr/logo11w.png" horizontal layout></core-image>
</core-card>
</section>
</core-header-panel>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment