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/d453036795fb9039feeb to your computer and use it in GitHub Desktop.
Save himanshu-dixit/d453036795fb9039feeb to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../polymer/polymer.html">
<polymer-element name="my-element">
<template>
<style>
#design_host {
width: 100%;
height: 100%;
box-sizing: border-box;
position: absolute;
}
#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: 60%;
height: 95%;
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);
left: 150px;
top: 10px;
}
#div1 {
box-sizing: border-box;
position: relative;
height: 220px;
background-color: rgb(224, 65, 108);
padding: 24px;
color: rgb(255, 255, 255);
font-size: 32px;
}
#section1 {
background-color: rgb(255, 255, 255);
padding: 24px;
font-size: 16px;
}
#span {
background-color: rgba(38, 34, 33, 0.7);
position: absolute;
top: 120px;
}
</style>
<section id="section" vertical layout>
<div id="div1" hero>
<span id="span" horizontal layout>How TO Get Most Out Of Yourself By FOllowing some simple techniques?</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