Skip to content

Instantly share code, notes, and snippets.

@zetagraph
Created June 17, 2014 03:41
Show Gist options
  • Save zetagraph/a0708d8435af93efef8d to your computer and use it in GitHub Desktop.
Save zetagraph/a0708d8435af93efef8d to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../cool-clock/cool-clock.html">
<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;
}
#cool_clock {
width: 190px;
height: 180px;
left: 20px;
top: 0px;
position: absolute;
}
#google_map {
width: 400px;
height: 400px;
display: block;
left: 40px;
top: 200px;
position: absolute;
}
</style>
<cool-clock skin="simple" id="cool_clock"></cool-clock>
</template>
<script>
Polymer('my-element', {
});
</script>
</polymer-element><google-map id="google_map" class="drag-element"></google-map>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment