A full-screen, two column layout for showing a featured image and description. As the user navigates content slides in from the bottom and the featured image sweeps in over the top of the previous one.
This theme is powered by Sequence.js - The responsive CSS animation framework for creating unique sliders, presentations, banners, and other step-based applications.
Theme URL: http://sequencejs.com/themes/two-up/
To add a Sequence.js theme to your web page, complete the following:
two-upfolder to the same folder as the page you'd like the Sequence.js theme to appear on
<head></head>tags on your page, below existing stylesheets. For example:
<link rel="stylesheet" href="two-up/css/sequence-theme.two-up.css" />
two-up/index.html, copy everything inside the
<body></body>tags, then paste into the page you'd like the theme to appear on.
two-up/index.html, copy any
<script></script>elements found toward the bottom of the page and paste just before the closing
</body>tag. This should include a reference to the Sequence.js library, its third-party dependencies, and the theme's options, for example:
<script src="two-up/scripts/imagesloaded.pkgd.min.js"></script> <script src="two-up/scripts/hammer.min.js"></script> <script src="two-up/scripts/sequence.min.js"></script> <script src="two-up/scripts/sequence-theme.two-up.js"></script>
Save your file and view in the browser. You're done!
Optional: Internet Explorer 8 will show the mobile layout regardless of browser width. If you'd like to fix that, add a reference to respond.js after all references to CSS. This will add media query support to older browsers. For example:
<!--[if lt IE 9]> <script src="two-up/scripts/respond.min.js"></script> <![endif]-->
Optional: In addition to step 7, for Internet Explorer 8 support, please add a reference to a stylesheet specific to that browser, like so:
<!--[if lt IE 9]> <link href="css/sequence-theme.two-up-ie8.css" rel="stylesheet" media="all"> <![endif]-->
To customize how a theme behaves, its Sequence.js options can be changed in
two-up/scripts/sequence-theme.two-up.js. See Options in the documentation.
To customize how a theme looks and how its step's transition, refer to the theme's stylesheet:
It is recommended to read Setting Up a Theme in the documentation for an overview of how transitions are applied to Sequence.js steps.
If you are familiar with Grunt.js, you can use it to automate common development tasks. This however is optional and isn't required for a theme to work.
Sequence.js and the themes it powers use Grunt.js to automate useful tasks. With Grunt.js installed (see Grunt.js' Getting Started), use the following command to install this theme's development dependencies:
Once development dependencies have installed you can use the commands
grunt serve and
This command will start a development environment with the following automated tasks:
.scssfiles found in the
scssdirectory, autoprefix them and then copy to
You only need to run
grunt serve per each development session as the watch task will continue to operate as you modify files.
grunt command is a manual version of the watch sub tasks listed for the
grunt serve command.
This theme is made available under a GPLv3 license.
Copyright © 2015 Ian Lunn Design Limited
This theme is powered by Sequence.js. Sequence.js is made available under the following licenses where applicable: