Skip to content

Instantly share code, notes, and snippets.

@Sekhmet
Last active August 29, 2015 14:14
Show Gist options
  • Save Sekhmet/1af2bbd83863a7e9105f to your computer and use it in GitHub Desktop.
Save Sekhmet/1af2bbd83863a7e9105f 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 {
left: 0px;
top: 0px;
position: absolute;
width: 100%;
height: 100%;
background-color: rgb(76, 175, 80);
}
#section1 {
left: 840px;
top: 540px;
position: absolute;
background-color: rgb(182, 36, 36);
}
</style>
<section id="section1"></section>
<section id="section">
</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