Skip to content

Instantly share code, notes, and snippets.

@S3ak
Created July 25, 2014 11:02
Show Gist options
  • Save S3ak/02d689bd725d756e0b77 to your computer and use it in GitHub Desktop.
Save S3ak/02d689bd725d756e0b77 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../google-map/google-map.html">
<link rel="import" href="../yt-video/yt-search-video.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#google_map {
width: 400px;
height: 400px;
display: block;
left: 440px;
top: 170px;
position: absolute;
}
#yt_search_video1 {
width: 300px;
height: 300px;
left: 920px;
top: 80px;
position: absolute;
}
</style>
<google-map latitude="3000" longitude="3000" id="google_map"></google-map>
<google-map id="google_map"></google-map>
<yt-search-video id="yt_search_video1"></yt-search-video>
</template>
<script>
Polymer('my-element', {
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment