Skip to content

Instantly share code, notes, and snippets.

@dnadales
Last active December 16, 2015 14:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dnadales/3017f130e7886071bfff to your computer and use it in GitHub Desktop.
Save dnadales/3017f130e7886071bfff to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../topeka-elements/avatars.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../cool-clock/cool-clock.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_icon {
height: 64px;
width: 64px;
}
#core_card {
position: absolute;
width: 540px;
height: 400px;
border-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
left: 50px;
top: 10px;
background-color: rgb(255, 255, 255);
}
#cool_clock {
width: 400px;
height: 300px;
}
</style>
<core-card id="core_card" layout vertical>
<core-icon icon="avatars:avatar-1" id="core_icon" designmeta="topeka-avatar"></core-icon>
<cool-clock id="cool_clock"></cool-clock>
</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