Last active
August 29, 2015 14:08
-
-
Save hiteshagja/fbd2e95cd389f9a02a24 to your computer and use it in GitHub Desktop.
designer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="../paper-input/paper-input.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
top: 0px; | |
left: 0px; | |
} | |
#core_card { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
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: 0px; | |
top: 0px; | |
background-color: rgb(255, 255, 255); | |
} | |
#core_input { | |
padding: 15px; | |
} | |
#core_card1 { | |
width: 100%; | |
height: 50px; | |
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; | |
position: absolute; | |
top: 0px; | |
left: 0px; | |
opacity: 1; | |
border: 0px; | |
background-color: rgb(255, 255, 255); | |
} | |
#label { | |
width: 160px; | |
height: 50px; | |
} | |
#section { | |
left: 100px; | |
top: 290px; | |
position: absolute; | |
} | |
</style> | |
<core-card id="core_card"> | |
<core-card id="core_card1" layout horizontal> | |
<label id="label" horizontal layout center center-justified>Name : </label> | |
<paper-input label="Type something..." willvalidate id="paper_input" layout end-justified horizontal vertical flex wrap></paper-input> | |
</core-card> | |
<section id="section"></section> | |
</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