Skip to content

Instantly share code, notes, and snippets.

@leykov
Last active August 29, 2015 14:23
Show Gist options
  • Save leykov/94ef19a6603b3cc31d97 to your computer and use it in GitHub Desktop.
Save leykov/94ef19a6603b3cc31d97 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../google-map/google-map.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#google_map_search {
left: 730px;
top: 370px;
position: absolute;
}
#google_map_directions {
left: 1200px;
top: 630px;
position: absolute;
}
#google_map_search1 {
left: 1230px;
top: 670px;
position: absolute;
}
#google_map_search2 {
left: 1230px;
top: 550px;
position: absolute;
}
#section {
box-sizing: border-box;
width: 420px;
height: 630px;
left: 340px;
top: 140px;
position: absolute;
}
#div {
box-sizing: border-box;
position: relative;
height: 240px;
padding: 24px;
color: rgb(255, 255, 255);
font-size: 32px;
background-color: rgb(255, 235, 59);
}
#section1 {
padding: 24px;
font-size: 16px;
background-color: rgb(238, 238, 238);
}
#google_map {
width: 400px;
height: 400px;
display: block;
left: 50px;
top: 50px;
position: absolute;
}
</style>
<section id="section" layout vertical>
<div id="div" hero>
<span id="span">Question</span>
</div>
<section id="section1" hero flex>
<span id="span1">Answer here</span>
<google-map id="google_map"></google-map>
</section>
</section>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment