Skip to content

Instantly share code, notes, and snippets.

@stillru
Created March 3, 2015 11:20
Show Gist options
  • Save stillru/706e02a5d852d50176f4 to your computer and use it in GitHub Desktop.
Save stillru/706e02a5d852d50176f4 to your computer and use it in GitHub Desktop.
designer
<link href="../topeka-elements/category-images.html" rel="import">
<link href="../core-icon/core-icon.html" rel="import">
<link href="../core-icons/core-icons.html" rel="import">
<link href="../core-icons/av-icons.html" rel="import">
<link href="../paper-fab/paper-fab.html" rel="import">
<polymer-element name="my-element">
<template>
<style>
#design_host {
width: 100%;
height: 100%;
position: absolute;
box-sizing: border-box;
}
#section {
left: 0px;
top: 0px;
width: 420px;
height: 582px;
position: absolute;
box-sizing: border-box;
}
#section1 {
background-color: rgb(255, 255, 141);
}
#core_icon {
width: 256px;
height: 256px;
z-index: 100;
}
#div {
padding: 24px;
height: 80px;
color: rgb(255, 255, 255);
font-size: 32px;
position: relative;
box-sizing: border-box;
background-color: rgb(255, 235, 59);
}
#div2 {
right: 24px;
bottom: 50px;
color: rgb(255, 255, 255);
position: absolute;
}
#paper_fab {
background-color: rgb(255, 64, 129);
}
</style>
<section id="section" layout vertical>
<section id="section1" class="top" layout horizontal center flex center-justified hero-id="top" hero>
<core-icon icon="category-images:knowledge" id="core_icon" designmeta="topeka-image" cross-fade-delayed></core-icon>
</section>
<div id="div" class="bottom" hero-id="bottom" hero>
<span id="span">General Knowledge</span>
</div>
<div id="div1" class="dummy" hero></div>
<div id="div2" class="fab fab-0">
<paper-fab icon="av:play-arrow" id="paper_fab" cross-fade-delayed></paper-fab>
</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