Skip to content

Instantly share code, notes, and snippets.

@gchoi
Created August 21, 2014 14:08
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 gchoi/026cb9786afb128dc21e to your computer and use it in GitHub Desktop.
Save gchoi/026cb9786afb128dc21e to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icons/av-icons.html">
<link rel="import" href="../paper-fab/paper-fab.html">
<polymer-element name="my-element">
<template>
<style>
:host {
box-sizing: border-box;
}
#section {
box-sizing: border-box;
width: 2210px;
height: 1180px;
left: 10px;
top: 0px;
position: absolute;
}
#section1 {
width: 100%;
height: 100%;
position: absolute;
left: 100%;
top: 100%;
background-color: rgb(171, 211, 224);
}
#div {
box-sizing: border-box;
height: 460px;
padding: 24px;
color: rgb(255, 255, 255);
font-size: 32px;
width: 2440px;
background-color: rgb(255, 235, 59);
}
#div2 {
position: absolute;
color: rgb(255, 255, 255);
bottom: 50px;
right: 24px;
}
#paper_fab {
background-color: rgb(255, 64, 129);
}
</style>
<section id="section" layout vertical>
<div id="div1" hero class="dummy"></div>
<div id="div2" class="fab fab-0">
<paper-fab icon="av:play-arrow" id="paper_fab" cross-fade-delayed></paper-fab>
</div>
<section id="section1" class="top" flex layout horizontal center center-justified hero hero-id="top">
<div id="div" class="bottom" hero hero-id="bottom" start center-justified wrap>
<span id="span">General Knowledge</span>
</div>
</section>
</section>
</template>
<script>
Polymer('my-element', {
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment