Skip to content

Instantly share code, notes, and snippets.

@elpuas
Created July 14, 2014 18:27
Show Gist options
  • Save elpuas/aee8c56601a5f3795ed5 to your computer and use it in GitHub Desktop.
Save elpuas/aee8c56601a5f3795ed5 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../yt-video/yt-search-video.html">
<link rel="import" href="../google-map/google-map.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#yt_search_video {
width: 300px;
height: 300px;
left: 20px;
top: 20px;
position: absolute;
}
#google_map {
width: 400px;
height: 400px;
display: block;
left: 140px;
top: 300px;
position: absolute;
}
</style>
<yt-search-video id="yt_search_video"></yt-search-video>
</template>
<script>
Polymer('my-element', {
});
</script>
</polymer-element><google-map id="google_map" class="drag-element"></google-map>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment