Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Every slide except the previous and the next one have display:none. T…
…his allows for interesting transitions without the performance overhead
- Loading branch information
Lea Verou
committed
Oct 1, 2011
1 parent
17c3c43
commit acbd503
Showing
2 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
acbd503
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sadly, the counter-increment won't work on display:none elements, so the slide counter stays at 2 for the slides >= 2. http://www.w3.org/TR/css3-content/#counters0
acbd503
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I've just fixed it. :)