Created
July 3, 2014 13:23
-
-
Save vtomasr5/5470bc6d04876c0535db to your computer and use it in GitHub Desktop.
designer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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; | |
top: 0px; | |
left: 0px; | |
} | |
#core_card { | |
display: block; | |
position: absolute; | |
width: 300px; | |
height: 300px; | |
padding: 4px; | |
border-top-left-radius: 2px; | |
border-top-right-radius: 2px; | |
border-bottom-right-radius: 2px; | |
border-bottom-left-radius: 2px; | |
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px; | |
left: 410px; | |
top: 150px; | |
background-color: rgb(255, 255, 255); | |
} | |
#paper_input { | |
left: 430px; | |
top: 150px; | |
position: absolute; | |
} | |
#paper_button { | |
left: 500px; | |
top: 230px; | |
position: absolute; | |
} | |
</style> | |
<core-card id="core_card"></core-card> | |
<paper-input label="Type something..." id="paper_input"></paper-input> | |
<paper-button label="Paper Button" raisedbutton id="paper_button"></paper-button> | |
</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