Skip to content

Instantly share code, notes, and snippets.

@toddgeist
Created June 20, 2014 23:55
Show Gist options
  • Save toddgeist/6d2c769300ddc4281c8d to your computer and use it in GitHub Desktop.
Save toddgeist/6d2c769300ddc4281c8d to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-icon-button/core-icon-button.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_card {
display: block;
position: absolute;
width: 480px;
height: 320px;
padding: 4px;
border-top-left-radius: 2px;
border-top-right-radius: 2px;
border-bottom-right-radius: 2px;
border-bottom-left-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
left: 90px;
top: 50px;
background-color: rgb(255, 255, 255);
}
#core_icon_button {
left: 490px;
top: 410px;
position: absolute;
}
</style>
<core-card id="core_card">ok</core-card>
<core-icon-button icon="menu" id="core_icon_button" theme="core-light-theme"></core-icon-button>
</template>
<script>
Polymer('my-element', {
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment