Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <link rel="import" href="../polymer/polymer.html">
- <polymer-element name="my-element">
- <template>
- <style>
- :host {
- position: absolute;
- width: 100%;
- height: 100%;
- box-sizing: border-box;
- }
- #section {
- box-sizing: border-box;
- width: 420px;
- height: 630px;
- background-color: rgb(255, 255, 141);
- left: 110px;
- top: 20px;
- position: absolute;
- }
- #div {
- box-sizing: border-box;
- position: relative;
- height: 150px;
- width: 150px;
- background-color: rgb(255, 235, 59);
- color: rgb(255, 255, 255);
- font-size: 100px;
- }
- </style>
- <section id="section" layout vertical center center-justified>
- <div id="div" hero layout vertical center center-justified>
- <span id="span">+8</span>
- </div>
- </section>
- </template>
- <script>
- Polymer({
- });
- </script>
- </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement