 Even good presentations that do not contain lists of twenty points as the eighth pin and which cause a gag reflex of pictures from free collections of the “meeting and partnership” clip art or “office life” follow the set standard long ago, unchanged and transferred to office packages from the world of old wide projectors. A presentation is always a collection of rectangular pictures of the same size and size. Sometimes transitions and animations are added between them, annoying no less than multi-colored inscriptions and senselessly smiling abstract office workers. The de facto standard for a good presentation has long been a sequence of static slides without any flickering, with very short text in large print and a few carefully selected photos or screenshots.
 Even good presentations that do not contain lists of twenty points as the eighth pin and which cause a gag reflex of pictures from free collections of the “meeting and partnership” clip art or “office life” follow the set standard long ago, unchanged and transferred to office packages from the world of old wide projectors. A presentation is always a collection of rectangular pictures of the same size and size. Sometimes transitions and animations are added between them, annoying no less than multi-colored inscriptions and senselessly smiling abstract office workers. The de facto standard for a good presentation has long been a sequence of static slides without any flickering, with very short text in large print and a few carefully selected photos or screenshots.id=”impress" attribute, inside which will be our presentation: <!doctype html> <html> <head> <title>Impress.js</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <style type="text/css"> body { background-color: #ed7; color: #400; font-size: 2em; } .step { width: 1000px; } img { margin-left: 450px; } .no-support-message { display: none; } .impress-not-supported .no-support-message { display: block; color: red; font-size: 2em; } </style> </head> <body> <div id="impress"> <div class="no-support-message"> ! Impress.js    Chrome  Safari. </div> </div> <script type="text/javascript" src="js/impress.js"></script> </body> </html> <div class=”step” … > , to which you can add attributes that define the position and scale. You can move between slides using the space bar or the arrows. The framework is still less than a month, so the set of available attributes is still very limited: <div class="step"> <h1>  -  :</h1> <div class="step"> </div>  <div class="step" data-x="1000" data-y="1000"> <h1>  - :</h1> <div class="step" data-x="1000" data-y="1000"> </div>  <div class="step" data-x="3000" data-y="-1000" data-scale="4"> <h1>  - :</h1> <div class="step" data-x="3000" data-y="-1000" data-scale="4"> </div>  <div class="step" data-x="-6100" data-y="-3800" data-rotate="180" data-scale="40"> <h1>  - :</h1> <div class="step" data-x="-1700" data-y="-3000" data-rotate="180" data-scale="40"> </div>  <div class="step" data-x="8000" data-y="-8100" data-rotate-x="30" data-rotate-z="-29"> <h1>  - 3D:</h1> <div class="step" data-x="8000" data-y="-8100" data-rotate-x="30" data-rotate-z="-29"> </div>  <div class="step" data-x="7963.7" data-y="-8106.3" data-scale="0.04"> <img src="img/small_nuance.png"> </div> Source: https://habr.com/ru/post/136505/
All Articles