Skip to content

Instantly share code, notes, and snippets.

@preddy5
Created June 28, 2014 00:28
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 preddy5/7cd8a4afd7e9d53ca384 to your computer and use it in GitHub Desktop.
Save preddy5/7cd8a4afd7e9d53ca384 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../paper-toast/paper-toast.html">
<link rel="import" href="../paper-checkbox/paper-checkbox.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 20em;
height: 100%;
box-sizing: border-box;
background-color: rgb(236, 240, 241);
}
#paper_checkbox {
left: 60px;
top: 130px;
position: absolute;
width: 80px;
height: 20px;
}
#section1 {
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
left: 450px;
top: -210px;
background-color: rgb(250, 250, 250);
}
#paper_toast {
left: 60px;
top: 430px;
position: absolute;
}
#div {
left: 100px;
top: 450px;
position: absolute;
}
</style>
<paper-toast text="Toast!" id="paper_toast" class="core-transition core-transition-bottom"></paper-toast>
<div id="div" layout horizontal>
</div>
<paper-checkbox checked label="click me" id="paper_checkbox"></paper-checkbox>
</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