Last active
August 29, 2015 14:13
-
-
Save himanshu-dixit/f7fb588a72e55cea86d5 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> | |
#design_host { | |
box-sizing: border-box; | |
position: static; | |
} | |
#toolbar { | |
box-sizing: border-box; | |
height: 15%; | |
position: relative; | |
color: rgb(255, 255, 255); | |
font-size: 48px; | |
background-color: rgb(0, 187, 211); | |
} | |
#section { | |
margin: 0px auto; | |
box-sizing: border-box; | |
width: 535px; | |
height: 545px; | |
position: absolute; | |
background-color: rgb(255, 255, 255); | |
border-radius: 4px; | |
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.094), 0px 0px 3px rgba(0, 0, 0, 0.094); | |
} | |
#div1 { | |
box-sizing: border-box; | |
position: relative; | |
height: 200px; | |
background-color: rgb(43, 118, 174); | |
color: rgb(255, 255, 255); | |
font-size: 32px; | |
padding: 2px; | |
} | |
#section1 { | |
background-color: rgb(255, 255, 255); | |
padding: 24px; | |
font-size: 16px; | |
} | |
#span { | |
position: relative; | |
top: 110px; | |
background: none repeat scroll 0% 0% rgba(0, 0, 0, 0.7); | |
} | |
</style> | |
<section id="section" layout vertical> | |
<div id="div1" hero> | |
<span id="span">How to fall in love with your partner quickly</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