Skip to content

Instantly share code, notes, and snippets.

@64BitAsura
Last active August 29, 2015 14:19
Show Gist options
  • Save 64BitAsura/2af5c2d74f68ac0c37b4 to your computer and use it in GitHub Desktop.
Save 64BitAsura/2af5c2d74f68ac0c37b4 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icons/av-icons.html">
<link rel="import" href="../paper-fab/paper-fab.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_card {
position: absolute;
width: 100%;
height: 100%;
border-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
left: 0px;
top: 0px;
background-color: rgb(255, 255, 255);
}
#paper_fab {
left: 50%;
top: 50%;
position: absolute;
transform: translate(-50%, -50%);
height: 200px;
width: 200px;
}
</style>
<core-card id="core_card" layout vertical>
<paper-fab id="paper_fab">
</paper-fab>
</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