Advertisement
Guest User

Untitled

a guest
May 27th, 2015
266
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.34 KB | None | 0 0
  1. <link rel="import" href="../core-animated-pages/core-animated-pages.html">
  2. <link rel="import" href="../core-animated-pages/transitions/hero-transition.html">
  3. <link rel="import" href="../core-animated-pages/transitions/cross-fade.html">
  4. <link rel="import" href="../core-animated-pages/transitions/slide-down.html">
  5. <link rel="import" href="../core-animated-pages/transitions/slide-up.html">
  6. <link rel="import" href="../core-animated-pages/transitions/tile-cascade.html">
  7.  
  8. <polymer-element name="my-element">
  9.  
  10. <template>
  11. <style>
  12. :host {
  13. position: absolute;
  14. width: 100%;
  15. height: 100%;
  16. box-sizing: border-box;
  17. }
  18. #core_animated_pages {
  19. width: 420px;
  20. height: 582px;
  21. overflow: hidden;
  22. left: 120px;
  23. top: 40px;
  24. position: absolute;
  25. background-color: rgb(238, 238, 238);
  26. }
  27. </style>
  28. <core-animated-pages selectedindex="0" notap id="core_animated_pages">
  29. <section id="section" layout horizontal center center-justified active>
  30. <div id="hero1" hero-id="hero" hero></div>
  31. <div id="bottom1" cross-fade></div>
  32. </section>
  33. <section id="section1">
  34. </section>
  35. <section id="section2">
  36. </section>
  37. </core-animated-pages>
  38. </template>
  39.  
  40. <script>
  41.  
  42. Polymer({
  43.  
  44. });
  45.  
  46. </script>
  47.  
  48. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement