Skip to content

Instantly share code, notes, and snippets.

@himanshu-dixit
Last active August 29, 2015 14:13
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 himanshu-dixit/c54056dc7cf92a254e91 to your computer and use it in GitHub Desktop.
Save himanshu-dixit/c54056dc7cf92a254e91 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../polymer/polymer.html">
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'>
<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);
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);
font-family: 'Open Sans', sans-serif;
}
#div1 {
box-sizing: border-box;
position: relative;
height: 200px;
background-color: rgb(43, 118, 174);
color: rgb(255, 255, 255);
font-size: 32px;
font-weight: 500;
}
#section1 {
background-color: rgb(255, 255, 255);
padding: 24px;
font-size: 16px;
}
#span {
position: relative;
top: 112px;
background: none repeat scroll 0% 0% rgba(0, 0, 0, 0.7);
}
</style>
<section id="section" vertical layout>
<div id="div1" hero>
<span id="span">How to fall in love with your partner quickly</span>
</div>
<section id="section1" flex hero>
<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