Skip to content

Instantly share code, notes, and snippets.

@hiteshagja
Last active August 29, 2015 14:09
Show Gist options
  • Save hiteshagja/14dd71f7fe479681dff6 to your computer and use it in GitHub Desktop.
Save hiteshagja/14dd71f7fe479681dff6 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-input/core-input.html">
<link rel="import" href="../paper-input/paper-input.html">
<polymer-element name="my-element">
<template>
<style>
:host {
box-sizing: border-box;
width: 50%;
}
#input {
padding: 15px;
left: 440px;
top: 250px;
position: absolute;
height: 5px;
}
#paper_input {
left: 400px;
top: 410px;
position: absolute;
}
#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: 720px;
top: 310px;
background-color: rgb(255, 255, 255);
}
#paper_input1 {
height: 30px;
width: 50%;
}
#paper_input2 {
width: 50%;
}
</style>
<input id="input" placeholder="type something..." is="core-input">
<paper-input label="Type something..." id="paper_input"></paper-input>
<core-card id="core_card">
<paper-input label="Type something..." id="paper_input1"></paper-input>
<paper-input label="Type something..." id="paper_input2"></paper-input>
<paper-input label="Type something..." id="paper_input4"></paper-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