Skip to content

Instantly share code, notes, and snippets.

@Drewfore
Created November 19, 2014 05:37
Show Gist options
  • Save Drewfore/8f65cf02ebf475659ca6 to your computer and use it in GitHub Desktop.
Save Drewfore/8f65cf02ebf475659ca6 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../polymer/polymer.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#section {
box-sizing: border-box;
width: 100%;
height: 100%;
left: 0px;
top: 0px;
position: absolute;
background-color: rgb(255, 255, 141);
}
#div {
box-sizing: border-box;
position: relative;
height: 150px;
width: 150px;
color: rgb(255, 255, 255);
font-size: 100px;
background-color: rgb(255, 235, 59);
}
</style>
<section id="section" layout vertical center center-justified>
<div id="div" hero layout vertical center center-justified>
<span id="span">+8</span>
</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