Skip to content

Instantly share code, notes, and snippets.

@ruslanchek
Last active August 29, 2015 14:13
Show Gist options
  • Save ruslanchek/7afdb9a6dbfd0c298e21 to your computer and use it in GitHub Desktop.
Save ruslanchek/7afdb9a6dbfd0c298e21 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../google-map/google-map.html">
<link rel="import" href="../notification-elements/notification-alert.html">
<link rel="import" href="../paper-button/paper-button.html">
<link rel="import" href="../paper-calculator/paper-calculator.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: 230px;
top: 180px;
position: absolute;
}
#notification_alert {
left: 530px;
top: 640px;
position: absolute;
}
#paper_button {
left: 620px;
top: 650px;
position: absolute;
}
#paper_calculator {
width: 400px;
height: 560px;
left: 60px;
top: 610px;
position: absolute;
}
</style>
<google-map latitude="37.616280001799836" longitude="-122.39470076171875" id="google_map"></google-map>
<notification-alert message="Hi there!" icon="icon.png" name="notification" id="notification_alert"></notification-alert>
<paper-button id="paper_button">button</paper-button>
<paper-calculator responsivewidth="2000px" id="paper_calculator"></paper-calculator>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment