Skip to content

Instantly share code, notes, and snippets.

@jconlon
Last active August 29, 2015 14:16
Show Gist options
  • Save jconlon/e7b84acc85ff3f7f9c0d to your computer and use it in GitHub Desktop.
Save jconlon/e7b84acc85ff3f7f9c0d to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-field/core-field.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../core-input/core-input.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_field {
left: 140px;
top: 70px;
position: absolute;
}
#core_icon {
width: 100px;
height: 80px;
}
</style>
<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 id="core_input" flex></core-input>
</core-field>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment