Skip to content

Instantly share code, notes, and snippets.

@designer-polymer
Created June 12, 2014 07:43
Show Gist options
  • Select an option

  • Save designer-polymer/3cc3953ac04a07465e55 to your computer and use it in GitHub Desktop.

Select an option

Save designer-polymer/3cc3953ac04a07465e55 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../components/polymer/polymer.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#paper_form {
left: 180px;
top: 80px;
position: absolute;
width: 710px;
height: 360px;
}
#paper_row {
border: 1px solid blue;
}
</style>
<paper-form id="paper_form" segment layout vertical end-justified>
<paper-row id="paper_row" layout horizontal center wrap flex>
<input-field name="Field Name" id="input_field" kind="input" layout horizontal center field flex></input-field>
</paper-row>
<paper-row id="paper_row" layout horizontal center wrap flex>
<input-field name="Field Name" invalidated id="input_field" kind="input" layout horizontal center field flex></input-field>
</paper-row>
</paper-form>
</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