Skip to content

Instantly share code, notes, and snippets.

@IntranetFactory
Created June 1, 2014 23:31
Show Gist options
  • Select an option

  • Save IntranetFactory/4dfa6ef9c5ba940afe90 to your computer and use it in GitHub Desktop.

Select an option

Save IntranetFactory/4dfa6ef9c5ba940afe90 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;
}
#yt_search_video {
width: 300px;
height: 300px;
left: 120px;
top: 250px;
position: absolute;
}
#speech_mic {
left: 240px;
top: 130px;
position: absolute;
}
</style>
<yt-search-video id="yt_search_video"></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