Pen Settings

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

  <section class="mast">
    <div class="container">
      <h1 class="text">Incoming Transmission</h1> 
      <hr class="sep"/>
      <p class="text">This is a story, all about how,<br>
My life got twisted upside down.<br> 
So I'd like to tell a story, just sit right there.<br>
And I'll tell you how I became the prince of Bel Air.</p>

              body {
  margin: 0;
	background-color: #111;
  width: 100%;
  font-family: "Cutive Mono", monospace;
	color: white;
  line-height: 1.5;
  font-weight: 400;
  font-style: normal;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
	margin : 10%;
	font-size: 1em;
  text-transform: uppercase;
	letter-spacing: 0.3em;

.text > span{
  animation: letter-glow 0.7s 0s ease both;
.sep {
  border: 0;
  width: 3em;
  height: 1px;
  margin: 1em 0;
  background-color: rgba(255, 255, 255, 0.4);

@keyframes letter-glow {
  0% {
    opacity: 0;
    text-shadow: 0px 0px 1px rgba(255, 255, 255, 0.2);
  66% {
    opacity: 1;
    text-shadow: 0px 0px 20px rgba(255, 255, 255, 0.9);
  77% {
    opacity: 1;
  100% {
    opacity: 0.7;
    text-shadow: 0px 0px 20px rgba(255, 255, 255, 0);

              (function($) {
  var T, 
  write = {
    settings: {
      letters: $('.text'),
    init: function() {
      T = this.settings;
        var self=this;

    putIntab: function(){
      for(var i=0;i<T.letters.length;i++){

        var tableau= $.trim(T.letters[i].innerHTML).split(/(?=[^>]*(?:<|$))/);
        //efface le texte existant
        T.letters[i].innerText=" ";
        //affiche le nouveau texte caractere par caractère
    afficheDelay: function(champ,texte){
    	var y = 0;
      var self = this;
      //parcours le tableau dans un interval donné en 2nd param
      var affiche = setInterval(function(){
        //ajoute dans le texte d'id champ, la lettre y du tableau
        var lettre = texte[y];
        if (y==texte.length){
      },60);//temps entre chaque caracteres

🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.