Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <link href="../polymer/polymer.html" rel="import">
- <polymer-element name="my-element">
- <template>
- <style>
- #design_host {
- width: 100%;
- height: 100%;
- position: absolute;
- box-sizing: border-box;
- }
- #section1 {
- left: 680px;
- top: 60px;
- width: 420px;
- height: 630px;
- position: absolute;
- box-sizing: border-box;
- background-color: rgb(255, 255, 141);
- }
- #div {
- width: 150px;
- height: 150px;
- color: rgb(255, 255, 255);
- font-size: 100px;
- position: relative;
- box-sizing: border-box;
- background-color: rgb(255, 235, 59);
- }
- #section {
- width: 420px;
- height: 630px;
- box-sizing: border-box;
- background-color: rgb(255, 255, 141);
- }
- #div1 {
- width: 150px;
- height: 150px;
- color: rgb(255, 255, 255);
- font-size: 100px;
- position: relative;
- box-sizing: border-box;
- background-color: rgb(255, 235, 59);
- }
- #section2 {
- left: 920px;
- top: 290px;
- width: 420px;
- height: 630px;
- position: absolute;
- box-sizing: border-box;
- }
- #div2 {
- padding: 24px;
- height: 240px;
- color: rgb(255, 255, 255);
- font-size: 32px;
- position: relative;
- box-sizing: border-box;
- background-color: rgb(255, 235, 59);
- }
- #section3 {
- padding: 24px;
- font-size: 16px;
- background-color: rgb(238, 238, 238);
- }
- </style>
- <section id="section1" layout center vertical center-justified>
- <div id="div" layout center vertical center-justified hero>
- <span id="span">+8</span>
- </div>
- </section>
- <section id="section2" class="drag-element" layout vertical>
- <div id="div2" hero>
- <span id="span2">Question</span>
- </div>
- <section id="section3" flex hero>
- <span id="span3">Answer here</span>
- </section>
- </section>
- </template>
- <script>
- Polymer({
- });
- </script>
- </polymer-element><section id="section" layout center vertical center-justified>
- <div id="div1" layout center vertical center-justified hero>
- <span id="span1">+8</span>
- </div>
- </section>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement