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/013601ec480d819ee29c to your computer and use it in GitHub Desktop.
Save himanshu-dixit/013601ec480d819ee29c to your computer and use it in GitHub Desktop.
designer
<link href="../paper-button/paper-button.html" rel="import">
<polymer-element name="my-element">
<template>
<style>
#section2 {
width: 420px;
height: 630px;
border: 5px solid rgb(204, 204, 204);
left: 840px;
top: 550px;
}
#section {
padding: 0px;
top: 0px;
position: relative;
}
#paper_toast {
left: 1140px;
top: 680px;
}
#paper_button {
height: 50%;
width: 50%;
}
#core_card1 {
width: 200px;
height: 150px;
background-color: rgb(255, 255, 255);
border-radius: 2px;
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.098), 0px 0px 3px rgba(0, 0, 0, 0.098);
}
#core_tooltip {
left: 720px;
top: 440px;
}
#core_selector {
width: 100%;
height: 50px;
left: 900px;
top: 410px;
}
#core_pages {
width: 400px;
height: 400px;
border: 1px solid silver;
left: 810px;
top: 480px;
}
#core_header_panel {
width: 300px;
height: 400px;
left: 930px;
top: 590px;
}
#core_animated_pages {
width: 420px;
height: 582px;
overflow: hidden;
background-color: rgb(238, 238, 238);
left: 930px;
top: 490px;
}
</style>
<style>
#design_host {
box-sizing: border-box;
position: static;
}
#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);
font-size: 16px;
}
#span {
position: relative;
top: 112px;
background: none repeat scroll 0% 0% rgba(0, 0, 0, 0.4);
}
</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 horizontal layout>
<paper-button id="paper_button">button</paper-button>
</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