Here's a stack:
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
<html> | |
<head> | |
<title>Click me if you can</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<style> | |
html, body { | |
display: flex; | |
flex-direction: column; | |
align-items: center; | |
justify-content: center; |
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
# Slide 1 | |
Here's a stack: | |
<div class="r-stack"> | |
<img class="fragment" src="https://placekitten.com/450/300" width="450" height="300"> | |
<img class="fragment" src="https://placekitten.com/300/450" width="300" height="450"> | |
<img class="fragment" src="https://placekitten.com/400/400" width="400" height="400"> | |
</div> | |
--- |
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
/* left sidebar */ | |
.oy8Mbf.aeN { | |
position: fixed; | |
left: 0; | |
margin-left: -250px; | |
z-index: 100; | |
transition: none; | |
} | |
.oy8Mbf.aeN:hover { |
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
function getUniqueFragments( fragmentElements ) { | |
return Array.from( fragmentElements ) | |
.map( ( fragment, i ) => fragment.getAttribute( 'data-fragment-index' ) || i ) | |
.filter( (value, index, array) => array.indexOf(value) === index ).length; | |
} | |
function getPastFragmentCount() { | |
const pastSlides = Array.from( Reveal.getSlidesElement().querySelectorAll( 'section.past' ) ); | |
const fragmentsInPastSlides = pastSlides.reduce( ( total, slide ) => { |
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
/* footer */ | |
.aeG, .pfiaof { | |
display: none; | |
} | |
/* hide header logo and hamburger */ | |
.gb_3c { | |
display: none !important; | |
} |
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
@keyframes dark-mode-icon-in { | |
0% { transform: rotate(90deg); } | |
100% { transform: rotate(0deg); } | |
} | |
@keyframes dark-mode-icon-out { | |
0% { transform: rotate(0deg); } | |
100% { transform: rotate(-90deg); } | |
} |
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
var indices = Reveal.getIndices( document.getElementById( 'sectionID' ) ); | |
Reveal.slide( indices.h, indices.v ); |
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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<link rel="stylesheet" href="css/reveal.css"> | |
<link rel="stylesheet" href="css/theme/default.css" id="theme"> | |
</head> |
NewerOlder