Skip to content

Instantly share code, notes, and snippets.

@tallstreet
Last active August 29, 2015 14:07
Show Gist options
  • Save tallstreet/342c4a4799e9a019a75b to your computer and use it in GitHub Desktop.
Save tallstreet/342c4a4799e9a019a75b to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="/elements/widgets/warrior-video/warrior-video.html">
<link rel="import" href="/elements/widgets/warrior-emailcollection/warrior-emailcollection.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_video {
left: 200px;
top: 410px;
position: absolute;
}
#warrior_emailcollection {
left: 40px;
top: -150px;
position: absolute;
}
#warrior_image {
left: 100px;
top: 600px;
position: absolute;
}
</style>
<warrior-image id="warrior_image" class="drag-element"></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