cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource

Code Indentation

     

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

            
              <!-- Normalement dans le <head>, idéalement avant </body> -->
<script type="application/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script type="application/javascript" src="https://www.internet-formation.fr/sources/reading-indicator.min.js"></script>

<header id="header">
  <h2>Lorem Ipsum</h2>
  <h4>"Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit..."</h4>
</header>
<hr>
<div id="content">
	<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque diam dui, vehicula ut blandit non, varius et ex. Suspendisse sodales dolor leo, quis vehicula dui euismod ac. Nulla mi orci, sagittis semper ligula quis, gravida porttitor arcu. Duis arcu dui, tincidunt ac dui id, placerat euismod metus. Etiam eleifend gravida justo, et rutrum velit vehicula sed. Pellentesque eget facilisis lorem. Pellentesque quis tristique nisl, sed condimentum dui. Mauris placerat nisi mi, a tempor nibh rhoncus sit amet. Etiam vulputate tellus porta eros varius tempor. Suspendisse turpis nisl, condimentum vel mattis eu, mollis in tortor. Praesent pellentesque enim a lacus lacinia condimentum. Ut orci lectus, imperdiet id pharetra id, fringilla ut nulla. Duis elementum sapien quis ipsum fringilla, at mattis nibh consectetur. Phasellus non est lacus.</p>
	<p>Duis sagittis turpis eget sagittis vehicula. Fusce imperdiet lobortis nisi at dictum. Pellentesque vel faucibus mi. Integer finibus posuere quam sit amet porta. Duis maximus metus id ornare bibendum. Praesent varius leo eget varius laoreet. Etiam venenatis nisl nunc. Suspendisse elementum nunc vitae urna faucibus auctor. Quisque tincidunt pellentesque erat ac faucibus. Curabitur vel sollicitudin ligula. Nulla pharetra blandit molestie. In at quam libero. In at lectus varius, imperdiet dui hendrerit, eleifend lectus. Mauris ac justo sed tortor feugiat euismod. Vestibulum id molestie dolor.</p>
	<p>Sed ullamcorper, lacus non molestie blandit, justo lectus vestibulum metus, sit amet rhoncus orci quam at sem. Sed sit amet sodales arcu, ut congue nulla. Pellentesque mattis ac arcu ut venenatis. Nam euismod massa eu odio elementum vestibulum. Nam feugiat magna quis mollis porttitor. Praesent ut sem a arcu volutpat lacinia in et est. Vivamus mattis elit felis, tempus ornare sapien vulputate nec. Nullam ut ligula et purus aliquam sodales in in mi. Etiam id luctus felis. Donec eget tempor sem. Etiam vel elit libero.</p>
	<p>Donec pretium erat magna, lobortis dapibus justo molestie sed. Proin eu ipsum varius, varius nibh eu, molestie justo. Aliquam rhoncus facilisis magna sed iaculis. Proin vel facilisis eros, et bibendum tortor. Sed tincidunt nisl quis sapien suscipit, nec tristique neque porta. Fusce non lectus tincidunt nibh fermentum bibendum. Mauris feugiat semper felis eget euismod. Pellentesque tempus ultrices nisi, a volutpat metus iaculis id. Praesent augue quam, maximus eget pretium sed, eleifend at nulla. Sed lobortis nulla nisl, consequat gravida elit tempus eu. Quisque non urna vel mauris cursus pellentesque. Pellentesque at vulputate dolor.</p>
	<p>Suspendisse ac pharetra libero. Etiam orci nisl, scelerisque id est quis, scelerisque luctus sapien. Quisque elementum nunc in efficitur blandit. Quisque nibh velit, tempus a dui eget, tristique sagittis sapien. Morbi finibus velit at pulvinar viverra. Praesent mollis luctus lectus, ut eleifend magna imperdiet lobortis. Etiam elementum ex magna, sit amet tincidunt felis hendrerit sed. Mauris ac tempus libero. Duis porttitor egestas porttitor. Etiam a orci in metus auctor egestas sit amet quis quam. Nulla ac arcu in orci tempus ultrices. Mauris nec ultricies elit.</p>
</div>
<footer id="footer">
	<p>Creation : <a href="http://www.testeur.ml" target="_blank">Mathieu Chartier</a></p>
	<p>&copy; <a href="https://www.internet-formation.fr" target="_blank">Internet-Formation</a></p>
</footer>
            
          
!
            
              /* Style : general */
* {margin:0; padding:0}
body{font-family:arial, helvetica;}
h2 {font-size:2em; margin:1.2em 0 .8em; text-align:center}
h4 {font-size:1.2em; text-align:center}
hr {margin:3em 0}
#footer {background:#222; padding:2em; color:#eee; text-align:center; line-height:2em}
#footer a {color:#999; text-decoration:none}

/* Barre de défilement horizontale => TOP */
.value-bottom {top:0;}
.reading-top {height:10px; width:100%; display:block; background:#222; position:absolute; top:0; z-index:9999;}
.reading-top.stickyProgressBar {position:fixed;}
.reading-top .reading-progress {position:relative; background:#007db7; width:0%; height:100%;}
.reading-top .reading-percentage {position:absolute; right:0; font-size:1.1em; text-align:center; color:#fff; background:#007db7; padding:.3em; white-space:nowrap;}
            
          
!
            
              // Percent for the #content section (full width progress bar by default)
jQuery(document).ready(function($) {
    $("#content").readingIndicator();
});
            
          
!
999px
Loading ..................

Console