Last active
December 31, 2015 23:42
-
-
Save corynthion/0deccbf6b467e872cade to your computer and use it in GitHub Desktop.
designer
This file contains hidden or 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; | |
} | |
#section { | |
box-sizing: border-box; | |
width: 420px; | |
height: 630px; | |
left: 290px; | |
top: 10px; | |
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({ | |
}); | |
</script> | |
</polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment