Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource


Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource


Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.


Auto Save

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.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.


    <div class="wrapper">
      <section class="content">
        <h2 class="bullshit"></h2>
        <small class="notouch-instructions">Appuyer sur <strong>espace</strong> pour un nouvel argument</small>
        <small class="touch-instructions">Toucher l'écran pour un nouvel argument</small>

    <footer class="footer">
      D'après une idée originale d'<a href="">Olivier Jedwab</a>. Développé par <a href="">Christophe Hermann</a>.


                /* Hard reset is hard */
* {
  margin: 0;
  padding: 0;
  border: 0;

body {
  background: url('') top center no-repeat #ecf0f1;
  background-size: cover;
  color: #34495e;
  font-family: "Roboto Condensed", Helvetica, Arial, sans-serif;
  font-weight: 300;
  text-align: center;
  height: 100vh;
body:before {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #ecf0f1;
  opacity: 0.8;
  z-index: -1;

a {
  color: #c0392b;
  text-decoration: none;
a:focus {
  text-decoration: underline;

h2 {
  font-weight: 400;
  font-size: 2.4rem;

p {
  margin: 1em 0;

.wrapper {
  display: table;
  width: 100%;
  height: 100%;

.content {
  display: table-cell;
  vertical-align: middle;
  padding: 2rem;

.bullshit {
  margin: 1rem 0;
.bullshit:after {
  content: '.';
.content small {
  color: #787878;

.about {
  width: 18.75rem;
  padding: 1.25rem;
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  background-color: #fff;
  transform: translateX(100%);
  transition: transform 325ms ease-in-out;
  text-align: left;

.footer {
  font-size: 0.75rem;
  position: fixed;
  bottom: 1.25rem;
  left: 0;
  right: 0;

.touch .notouch-instructions {
  display: none;
.touch .touch-instructions,
.notouch-instructions {
  display: block;



                var words = {
	1: [
      "Cette typo",
      "La photo",
      "Le flat design",
      "Ce visuel",
      "Cette forme",
      "Ce logo",
    	"La mise en page",
    	"Cette couleur",
    	"Ce design"
    2: [
    3: [
      "les effets",
      "le concept",
      "le fond",
      "la stratégie",
      "le caractère",
      "la force",
      "le contraste"
    4: [
    5: [
      "de l'identité",
      "de l'ambiance",
      "de la marque",
      "du message",
      "de l'information",
      "de l'idée",
      "du produit",
      "du style",
      "de la forme",
      "de l'évènement"

var generateSentence = function(){
  $('.bullshit').fadeOut(200, function(){
		$.each(words, function(key, val){	
			$('.bullshit').append(' ' + words[key][Math.floor(Math.random() * 9)]).fadeIn(200, function(){


if( Modernizr.touch ){
  $('body').on('touchend ', function(e){   
} else {
  $('body').on('keyup', function(e){
    if( e.keyCode == "32") {