Skip to content

Instantly share code, notes, and snippets.

@sreekanthsnair
Created July 14, 2014 06:49
Show Gist options
  • Save sreekanthsnair/fa712062ee908e492a09 to your computer and use it in GitHub Desktop.
Save sreekanthsnair/fa712062ee908e492a09 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-input/core-input.html">
<link rel="import" href="../core-field/core-field.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../core-icons/core-icons.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_input {
padding: 15px;
left: 200px;
top: 50px;
position: absolute;
border: 1px solid gray;
}
#core_field {
left: 130px;
top: 150px;
position: absolute;
}
#core_icon {
height: 24px;
width: 24px;
}
</style>
<core-input placeholder="Location" id="core_input"></core-input>
<core-field id="core_field" icon="search" theme="core-light-theme" center horizontal layout>
<core-icon icon="search" id="core_icon"></core-icon>
<core-input placeholder="text input" id="core_input1" flex></core-input>
</core-field>
</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