Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <link rel="import" href="../core-animated-pages/core-animated-pages.html">
- <link rel="import" href="../core-animated-pages/transitions/hero-transition.html">
- <link rel="import" href="../core-animated-pages/transitions/cross-fade.html">
- <link rel="import" href="../core-animated-pages/transitions/slide-down.html">
- <link rel="import" href="../core-animated-pages/transitions/slide-up.html">
- <link rel="import" href="../core-animated-pages/transitions/tile-cascade.html">
- <polymer-element name="my-element">
- <template>
- <style>
- :host {
- position: absolute;
- width: 100%;
- height: 100%;
- box-sizing: border-box;
- }
- #core_animated_pages {
- width: 420px;
- height: 582px;
- overflow: hidden;
- left: 120px;
- top: 40px;
- position: absolute;
- background-color: rgb(238, 238, 238);
- }
- </style>
- <core-animated-pages selectedindex="0" notap id="core_animated_pages">
- <section id="section" layout horizontal center center-justified active>
- <div id="hero1" hero-id="hero" hero></div>
- <div id="bottom1" cross-fade></div>
- </section>
- <section id="section1">
- </section>
- <section id="section2">
- </section>
- </core-animated-pages>
- </template>
- <script>
- Polymer({
- });
- </script>
- </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement