Skip to content

Instantly share code, notes, and snippets.

@nabn
Created November 14, 2014 10:38
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 nabn/df39386077fbc3ef5ed4 to your computer and use it in GitHub Desktop.
Save nabn/df39386077fbc3ef5ed4 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../polymer/polymer.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_card {
position: absolute;
width: 390px;
height: 660px;
border-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
left: 180px;
top: 30px;
background-color: rgb(0, 140, 128);
}
#core_card1 {
width: 390px;
height: 270px;
border-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
opacity: 1;
background-color: rgb(0, 82, 140);
}
</style>
<core-card id="core_card" layout vertical>
<core-card id="core_card1" layout vertical start wrap>
<h2 id="h2">logo goes here</h2>
</core-card>
</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