Skip to content

Instantly share code, notes, and snippets.

@tallstreet
Created October 11, 2014 00:44
Show Gist options
  • Save tallstreet/2ca58807f4eabc4ae017 to your computer and use it in GitHub Desktop.
Save tallstreet/2ca58807f4eabc4ae017 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-emailcollection/warrior-emailcollection.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-image/warrior-image.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#warrior_header {
left: 0px;
top: 0px;
position: absolute;
}
#warrior_emailcollection {
left: 10px;
top: -40px;
position: absolute;
}
#warrior_video {
left: 160px;
top: 130px;
position: absolute;
}
#warrior_paragraph {
left: 40px;
top: 510px;
position: absolute;
}
#warrior_image {
left: 530px;
top: 0px;
position: absolute;
}
</style>
<warrior-header id="warrior_header"></warrior-header>
<warrior-emailcollection id="warrior_emailcollection"></warrior-emailcollection>
<warrior-video id="warrior_video"></warrior-video>
<warrior-paragraph id="warrior_paragraph" content-editable></warrior-paragraph>
<warrior-image id="warrior_image"></warrior-image>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment