Skip to content

Instantly share code, notes, and snippets.

@hiteshagja
Last active August 29, 2015 14:09
Show Gist options
  • Save hiteshagja/55986f43b5f41f7e2d0a to your computer and use it in GitHub Desktop.
Save hiteshagja/55986f43b5f41f7e2d0a to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-input/core-input.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_card {
height: 100px;
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;
background-color: rgb(255, 255, 255);
}
#input {
padding: 15px;
}
#input1 {
padding: 15px;
}
#input2 {
padding: 15px;
}
#input3 {
padding: 15px;
}
#input4 {
padding: 15px;
}
</style>
<core-card id="core_card" horizontal layout start wrap>
<input id="input" placeholder="type something..." is="core-input">
<input id="input1" placeholder="type something..." is="core-input">
<input id="input2" placeholder="type something..." is="core-input">
<input id="input3" placeholder="type something..." is="core-input">
<input id="input4" placeholder="type something..." is="core-input">
</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