Skip to content

Instantly share code, notes, and snippets.

@seekr
Last active August 29, 2015 14:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seekr/1849861df2e411da720a to your computer and use it in GitHub Desktop.
Save seekr/1849861df2e411da720a 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: 280px;
top: 110px;
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 center horizontal 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