Skip to content

Instantly share code, notes, and snippets.

@toby1kenobi
Created March 13, 2015 22:20
Show Gist options
  • Save toby1kenobi/0bd468c536a767029fef to your computer and use it in GitHub Desktop.
Save toby1kenobi/0bd468c536a767029fef to your computer and use it in GitHub Desktop.
designer
<link href="../google-map/google-map.html" rel="import">
<polymer-element name="my-element">
<template>
<style>
#design_host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#google_map {
width: 100%;
height: 100%;
display: block;
left: 0px;
top: 0px;
position: absolute;
}
#core_card {
position: absolute;
width: 300px;
height: 40px;
background-color: rgb(255, 255, 255);
border-radius: 2px;
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.098), 0px 0px 3px rgba(0, 0, 0, 0.098);
left: 10px;
top: 10px;
}
</style>
<google-map id="google_map"></google-map>
<core-card id="core_card" vertical layout></core-card>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment