Skip to content

Instantly share code, notes, and snippets.

@reedjones
Created April 6, 2015 15:46
Show Gist options
  • Save reedjones/834374cdde5b3d5ff8ee to your computer and use it in GitHub Desktop.
Save reedjones/834374cdde5b3d5ff8ee to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-input/core-input.html">
<link rel="import" href="../paper-input/paper-input.html">
<link rel="import" href="../paper-progress/paper-progress.html">
<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;
top: 0px;
left: 0px;
}
#core_card {
position: absolute;
width: 300px;
height: 200px;
border-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
left: 440px;
top: 10px;
padding: 10px;
margin: 10px;
background-color: rgb(255, 255, 255);
}
#core_Card_2 {
position: absolute;
width: 300px;
height: 200px;
border-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
padding: 10px;
margin: 10px;
left: 140px;
top: 50px;
background-color: rgb(255, 255, 255);
}
.c-image {
height: 120px;
width: 120px;
}
#input {
padding: 15px;
left: 450px;
top: 260px;
position: absolute;
}
#paper_input {
left: 460px;
top: 320px;
position: absolute;
}
#paper_progress {
left: 450px;
top: 580px;
position: absolute;
}
#paper_fab {
left: 870px;
top: 540px;
position: absolute;
}
#paper_fab1 {
left: 1270px;
top: 380px;
}
</style>
<core-card id="core_card_2" layout vertical>
</core-card>
<core-card id="core_card" layout vertical>
<img id="img" src alt class="c-image"></img>
<h4 id="h4">Book Title</h4>
<p id="p">Other information</p>
</core-card>
<input id="input" placeholder="Review Title" is="core-input">
<paper-input label="Review Body..." id="paper_input"></paper-input>
<paper-progress id="paper_progress"></paper-progress>
<paper-fab icon="av:play-arrow" id="paper_fab"></paper-fab>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment