Skip to content

Instantly share code, notes, and snippets.

@satish-zol
Last active August 29, 2015 14:18
Show Gist options
  • Save satish-zol/6bc847b67817cb4d3527 to your computer and use it in GitHub Desktop.
Save satish-zol/6bc847b67817cb4d3527 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../notification-elements/notification-alert.html">
<link rel="import" href="../core-input/core-input.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
top: 0px;
left: 0px;
}
#notification_alert {
left: 460px;
top: 90px;
position: absolute;
}
#notification_alert1 {
left: 650px;
top: 310px;
position: absolute;
}
#input {
padding: 15px;
position: absolute;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
}
</style>
<notification-alert header="Alert" message="Hi there!" icon="icon.png" name="notification" id="notification_alert" horizontal layout></notification-alert>
<notification-alert message="Hi there!" icon="icon.png" name="notification" id="notification_alert1"></notification-alert>
<input preventinvalidinput id="input" placeholder="Enter your name" is="core-input" horizontal layout center-justified center two flex>Name
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment