Skip to content

Instantly share code, notes, and snippets.

@iamteem
Created July 11, 2014 03:56
Show Gist options
  • Save iamteem/4359a9df679aa44db788 to your computer and use it in GitHub Desktop.
Save iamteem/4359a9df679aa44db788 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../paper-input/paper-input.html">
<link rel="import" href="../paper-button/paper-button.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icon/core-icon.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#section {
left: 750px;
top: 350px;
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: 260px;
top: 70px;
background-color: rgb(255, 255, 255);
}
#core_field {
left: 1700px;
top: 560px;
}
#paper_input {
width: 100%;
}
#paper_input1 {
width: 100%;
}
#core_icon {
height: 24px;
width: 24px;
}
</style>
<section id="section"></section>
<core-card id="core_card" layout vertical>
<paper-input label="Type something..." id="paper_input"></paper-input>
<paper-input label="Type something..." type="password" id="paper_input1"></paper-input>
<paper-input label="Type something..." id="paper_input2"></paper-input>
<paper-button label="Paper Button" raisedbutton id="paper_button">
<core-icon icon="search" id="core_icon"></core-icon>
</paper-button>
</core-card>
</template>
<script>
Polymer('my-element', {
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment