Skip to content

Instantly share code, notes, and snippets.

@tallstreet
Created October 14, 2014 02:17
Show Gist options
  • Save tallstreet/ea351b0978f453154edf to your computer and use it in GitHub Desktop.
Save tallstreet/ea351b0978f453154edf 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-paragraph/warrior-paragraph.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-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: 40px;
top: 30px;
position: absolute;
}
#warrior_paragraph {
left: 50px;
top: 150px;
position: absolute;
}
#warrior_image {
left: 450px;
top: 40px;
position: absolute;
}
#warrior_video {
left: 150px;
top: 240px;
position: absolute;
}
#warrior_emailcollection {
left: 30px;
top: 90px;
position: absolute;
}
</style>
<warrior-header header="Crazy Test Way To Get Paid!" id="warrior_header"></warrior-header>
<warrior-paragraph id="warrior_paragraph" content-editable></warrior-paragraph>
<warrior-image id="warrior_image"></warrior-image>
<warrior-video id="warrior_video"></warrior-video>
<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