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/65c26ed64573e9d60016 to your computer and use it in GitHub Desktop.
Save himanshu-dixit/65c26ed64573e9d60016 to your computer and use it in GitHub Desktop.
designer
<link href="../topeka-elements/theme.html" rel="import">
<link href="../topeka-elements/topeka-resources.html" rel="import">
<link href="../topeka-elements/topeka-quizzes.html" rel="import">
<link href="../paper-button/paper-button.html" rel="import">
<polymer-element name="my-element">
<template>
<style>
#design_host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#topeka_quizzes {
width: 800px;
height: 800px;
left: 0px;
top: 0px;
position: static;
}
#section {
box-sizing: border-box;
height: 640px;
left: 110px;
top: 70px;
position: absolute;
width: 500px;
}
#div {
box-sizing: border-box;
position: relative;
height: 240px;
background-color: rgb(0, 0, 0);
padding: 24px;
color: rgb(255, 255, 255);
font-size: 32px;
}
#section1 {
background-color: rgb(238, 238, 238);
font-size: 16px;
}
#paper_button {
position: absolute;
top: 440px;
width: 50%;
height: 50%;
}
#paper_button1 {
left: 245px;
top: 40px;
position: absolute;
width: 50%;
height: 50%;
}
#paper_button2 {
position: static;
width: 50%;
height: 50%;
}
#paper_button3 {
position: absolute;
left: 245px;
width: 50%;
height: 50%;
}
#span {
position: absolute;
top: 90px;
}
</style>
<topeka-quizzes id="topeka_quizzes" category="{}" layout vertical></topeka-quizzes>
<section id="section" vertical layout>
<div id="div" hero>
<span id="span">What Is Your Name ?</span>
</div>
<section id="section1" flex hero>
<paper-button id="paper_button">CHETAN</paper-button>
<paper-button id="paper_button1">RAJAN</paper-button>
<paper-button id="paper_button2" center center-justified>Mannu</paper-button>
<paper-button id="paper_button3">UTKARSH</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