Skip to content

Instantly share code, notes, and snippets.

@sirdlx
Created July 5, 2014 15:07
Show Gist options
  • Save sirdlx/6b3bf3d66577a045090c to your computer and use it in GitHub Desktop.
Save sirdlx/6b3bf3d66577a045090c to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../notification-elements/notification-alert.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;
}
#notification_alert {
left: 350px;
top: 350px;
position: absolute;
}
#notification_alert1 {
left: 410px;
top: 230px;
position: absolute;
}
#yt_search_video {
width: 300px;
height: 300px;
left: 170px;
top: 50px;
position: absolute;
}
</style>
<notification-alert message="Hi there!" icon="icon.png" name="notification" id="notification_alert"></notification-alert>
<notification-alert message="Hi there!" icon="icon.png" name="notification" id="notification_alert1"></notification-alert>
<yt-search-video id="yt_search_video"></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