Skip to content

Instantly share code, notes, and snippets.

@tallstreet
Created October 14, 2014 01:08
Show Gist options
  • Save tallstreet/8aee429a1fc492f53847 to your computer and use it in GitHub Desktop.
Save tallstreet/8aee429a1fc492f53847 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="/elements/widgets/warrior-header/warrior-header.html">
<link rel="import" href="/elements/widgets/warrior-image/warrior-image.html">
<link rel="import" href="/elements/widgets/warrior-video/warrior-video.html">
<link rel="import" href="/elements/widgets/warrior-paragraph/warrior-paragraph.html">
<link rel="import" href="/elements/widgets/warrior-emailcollection/warrior-emailcollection.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#warrior_header {
left: 10px;
top: 10px;
position: absolute;
}
#warrior_image {
left: 380px;
top: 10px;
position: absolute;
}
#warrior_video {
left: 100px;
top: 80px;
position: absolute;
}
#warrior_paragraph {
left: 40px;
top: 260px;
position: absolute;
}
#warrior_emailcollection {
left: 0px;
top: 0px;
position: absolute;
}
</style>
<warrior-header header="Crazy Test Way To Get Paid!" id="warrior_header"></warrior-header>
<warrior-image id="warrior_image"></warrior-image>
<warrior-video id="warrior_video"></warrior-video>
<warrior-paragraph id="warrior_paragraph" content-editable></warrior-paragraph>
<warrior-emailcollection id="warrior_emailcollection"></warrior-emailcollection>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment