Skip to content

Instantly share code, notes, and snippets.

@iCodeSometime
Created June 29, 2014 02:40
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 iCodeSometime/2cde5d41c49d84b00960 to your computer and use it in GitHub Desktop.
Save iCodeSometime/2cde5d41c49d84b00960 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../components/polymer/polymer.html">
<polymer-element name="photography-samples">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#bottom1, #bottom2 {
position: absolute;
bottom: 0px;
top: 0px;
left: 0px;
height: 50px;
}
#core_card {
position: absolute;
width: 300px;
height: 300px;
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: 690px;
top: 30px;
dislpay: block;
background-color: rgb(255, 255, 255);
}
#core_card1 {
position: absolute;
width: 300px;
height: 300px;
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: 360px;
top: 30px;
display: block;
background-color: rgb(255, 19, 19);
}
#core_card2 {
position: absolute;
width: 300px;
height: 300px;
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: 30px;
top: 30px;
background-color: rgb(255, 255, 255);
}
#core_card3 {
position: absolute;
width: 300px;
height: 300px;
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: 690px;
top: 360px;
background-color: rgb(255, 255, 255);
}
#core_card4 {
position: absolute;
width: 300px;
height: 300px;
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: 360px;
top: 360px;
background-color: rgb(255, 255, 255);
}
#core_card5 {
position: absolute;
width: 300px;
height: 300px;
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: 30px;
top: 360px;
background-color: rgb(255, 255, 255);
}
</style>
<core-card id="core_card" layout vertical swipeable></core-card>
<core-card id="core_card1" layout vertical swipeable></core-card>
<core-card id="core_card2" layout vertical swipeable></core-card>
<core-card id="core_card3" layout vertical swipeable></core-card>
<core-card id="core_card4" layout vertical swipeable></core-card>
<core-card id="core_card5" layout vertical swipeable></core-card>
</template>
<script>
Polymer('photography-samples', {
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment