Skip to content

Instantly share code, notes, and snippets.

@leoj3n
Created July 12, 2014 04:19
Show Gist options
  • Save leoj3n/49bfffc14572d63b1685 to your computer and use it in GitHub Desktop.
Save leoj3n/49bfffc14572d63b1685 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../yt-video/yt-search-video.html">
<link rel="import" href="../speech-mic/speech-mic.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
top: 0px;
left: 0px;
}
#yt_search_video {
width: 300px;
height: 300px;
left: 560px;
top: 260px;
position: absolute;
}
#speech_mic {
left: 890px;
top: 470px;
position: absolute;
}
</style>
<yt-search-video id="yt_search_video">hello</yt-search-video>
<speech-mic id="speech_mic"></speech-mic>
</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