Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / Languages / Javascript

How to Build an Impressive Presentation using impress.js

2.25/5 (4 votes)
13 May 2014CPOL1 min read 13.7K   107  
This tip enables you to create an impressive presentation using impress.js and without any presentation tool.

Introduction

Creating presentations is not important just for people who work as software professionals or marketers but also for public speakers and anyone who is familiar with computer-related work. So, you can use tools to make it like Microsoft PowerPoint or Prezi or others.

But, if you don't have any of these tools, don't worry. You have a great opportunity to make a great presentation which can impress the audience using HTML5, CSS3 and especially Impress.js.

Background

Impress.js is a presentation framework build open the powerful CSS3 transformations and transitions on modern web browsers. This amazing framework was been created by Bartek Szopka in order to make creating presentations easier than before.

Using the Code

After downloading the impress.js library from here, create an HTML file called index.html in which you can call the amazing JavaScript library as shown below:

HTML
<!doctype html> 
<html lang="en">
<head>
<title>impress.js </title>    
</head>    
<body>        
<script src="js/impress.js"></script>    
</body> 
</html> 

After that, we want to create our presentation container:

HTML
<div id="impress">            
<div class="step">Slide Content</div> 
</div> 

and the next step is to make a specific CSS style for the class called step:

HTML
.slide { 
display: block;    
width: 1000px;    
height: 700px;    
border-left:25px solid #eee;    
color:#fff; }  

and so on.

Now it is time to try your example in Internet Explorer or Firefox or Google Chrome in order to check your presentation.

If you want to go further in this JavaSript Library, download the code source and you can easily understand my presentation and you can modify it to make your own presentation easily.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)