Skip to content

Instantly share code, notes, and snippets.

@robertonic
Last active February 10, 2016 16:20
Show Gist options
  • Save robertonic/92719a11956af58a1511 to your computer and use it in GitHub Desktop.
Save robertonic/92719a11956af58a1511 to your computer and use it in GitHub Desktop.
designer
<link href="../core-field/core-field.html" rel="import">
<link href="../core-icon/core-icon.html" rel="import">
<link href="../core-input/core-input.html" rel="import">
<link href="../core-icons/core-icons.html" rel="import">
<polymer-element name="my-element">
<template>
<style>
#design_host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_card2 {
background-color: rgb(250, 27, 111);
border-radius: 2px;
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.098), 0px 0px 3px rgba(0, 0, 0, 0.098);
border: medium none rgb(255, 0, 0);
left: 410px;
top: 60px;
position: absolute;
opacity: 0.9;
}
#core_card {
width: 300px;
height: 300px;
background-color: rgb(255, 255, 255);
border-radius: 2px;
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.098), 0px 0px 3px rgba(0, 0, 0, 0.098);
}
</style>
<core-card id="core_card" vertical layout center-justified center>
<core-card id="core_card1" center-justified vertical layout>
<core-field id="core_field" theme="core-light-theme" icon="search" vertical layout start>
<core-icon icon="search" id="core_icon"></core-icon>
<core-input id="core_input" flex></core-input>
</core-field>
<core-card id="core_card_base" vertical layout two flex></core-card>
</core-card>
<core-card id="core_card" vertical layout></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