Skip to content

Instantly share code, notes, and snippets.

@digitaltonic
Created July 2, 2014 14:50
Show Gist options
  • Save digitaltonic/3f61eea1c5698f9b9123 to your computer and use it in GitHub Desktop.
Save digitaltonic/3f61eea1c5698f9b9123 to your computer and use it in GitHub Desktop.
designer
<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">
<link rel="import" href="../core-pages/core-pages.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: 30px;
top: 20px;
position: absolute;
background-color: rgb(238, 238, 238);
}
#core_pages {
width: 400px;
height: 400px;
border: 1px solid silver;
}
#core_pages1 {
width: 400px;
height: 400px;
border: 1px solid silver;
left: 1050px;
top: 540px;
}
</style>
<core-animated-pages selectedindex="0" notap id="core_animated_pages">
<section id="section" layout horizontal center center-justified active>
<core-pages selected="0" selectedindex="0" notap id="core_pages">
<section id="section3" active>Page One</section>
<section id="section4">Page Two</section>
</core-pages>
</section>
<section id="section1">
</section>
<section id="section2">
</section>
</core-animated-pages>
</template>
<script>
Polymer('my-element', {
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment