Skip to content

Instantly share code, notes, and snippets.

@woile
Created December 10, 2014 17:22
Show Gist options
  • Save woile/48d000af934e1075903d to your computer and use it in GitHub Desktop.
Save woile/48d000af934e1075903d to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-ajax/core-ajax.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_ajax {
left: 850px;
top: 290px;
position: absolute;
}
#core_card {
position: absolute;
width: 300px;
height: 300px;
border-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
left: 60px;
top: 120px;
background-color: rgb(255, 255, 255);
}
#core_card1 {
position: absolute;
width: 300px;
height: 300px;
border-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
left: 390px;
top: 120px;
background-color: rgb(255, 255, 255);
}
#core_card2 {
position: absolute;
width: 300px;
height: 300px;
border-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
left: 720px;
top: 120px;
background-color: rgb(255, 255, 255);
}
#core_card3 {
position: absolute;
width: 300px;
height: 300px;
border-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
left: 60px;
top: 450px;
background-color: rgb(255, 255, 255);
}
#core_card4 {
position: absolute;
width: 300px;
height: 300px;
border-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
left: 390px;
top: 450px;
background-color: rgb(255, 255, 255);
}
#core_card5 {
position: absolute;
width: 300px;
height: 300px;
border-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
left: 720px;
top: 450px;
background-color: rgb(255, 255, 255);
}
</style>
<core-ajax handleas="json" method="POST" id="core_ajax" class="rtyerty" hidden>rtytry</core-ajax>
<core-card id="core_card" layout vertical></core-card>
<core-card id="core_card1" layout vertical></core-card>
<core-card id="core_card2" layout vertical></core-card>
<core-card id="core_card3" layout vertical></core-card>
<core-card id="core_card4" layout vertical></core-card>
<core-card id="core_card5" layout vertical></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