Created
September 17, 2014 20:57
-
-
Save rxw1/4bf0dd354259f9d62504 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="../polymer/polymer.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
} | |
#paper_button { | |
left: 1150px; | |
top: 530px; | |
} | |
#section { | |
box-sizing: border-box; | |
width: 420px; | |
height: 630px; | |
left: 330px; | |
top: 40px; | |
position: absolute; | |
} | |
#div { | |
box-sizing: border-box; | |
position: relative; | |
height: 240px; | |
padding: 24px; | |
color: rgb(255, 255, 255); | |
font-size: 32px; | |
background-color: rgb(255, 235, 59); | |
} | |
#section1 { | |
padding: 24px; | |
font-size: 16px; | |
background-color: rgb(238, 238, 238); | |
} | |
</style> | |
<section id="section" layout vertical> | |
<div id="div" hero> | |
<span id="span">Question</span> | |
</div> | |
<section id="section1" hero flex> | |
<span id="span1">Answer here</span> | |
</section> | |
</section> | |
</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