Skip to content

Instantly share code, notes, and snippets.

@basarat
Created May 14, 2015 00:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save basarat/7dd8531b27b3ac2c5b4b to your computer and use it in GitHub Desktop.
Save basarat/7dd8531b27b3ac2c5b4b to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-input/core-input.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_card {
position: absolute;
width: 960px;
height: 600px;
border-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
left: 420px;
top: 240px;
padding: 18px;
background-color: rgb(255, 255, 255);
}
#input {
padding: 15px;
}
#input1 {
padding: 15px;
}
</style>
<core-card id="core_card" layout vertical>
<input id="input" placeholder="type something..." is="core-input">
<input id="input1" placeholder="type something..." is="core-input">
</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