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 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.

Quick-add: + add another resource

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.

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.

            
              <div class="overline">Overline</div>

<h1 class="typed">
  Lorem ipsum dolor sit amet consectetutor ad sed vitae dings.
</h1>

<div class="icon">
  <i class="icon-comment"></i>
</div>


<div class="box">
  <p>
    Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
  </p>
  <h2>Lorem ipsum dolor.</h2>
    <p>
    Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
  </p>
</div>
            
          
!
            
              @import url(https://fonts.googleapis.com/css?family=Open+Sans:300);
@import url(https://fonts.googleapis.com/css?family=Exo:900);

html {
    box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

body {
  font-family: "Open Sans", sans-serif;
  background-color: #2980b9;
  margin: 2rem;
  font-size: 2rem;
  line-height: 3rem;
  color: #fff;
  transition: background-color 300ms linear;

  }

.overline {
  text-transform: uppercase;
  margin: 0;
  padding: 0;
  float:left;
}
.icon {
  width: 70%;
  text-align: right;
  font-size: 10rem;
  margin-bottom: 2rem;
}

h1,h2  {
  font-family: 'Exo', sans-serif;
  text-transform: uppercase;
  transform:skewY(-8deg);
  clear: both;
}
h1  {
  font-size: 6rem;
  line-height: 5.5rem;
  margin-top: 6rem;
  height: 25rem;
  width: 70%;
}
h2 {
  margin: 8rem 0 6rem ;
}


.box {
  background: #3498db;
  padding: 0.1rem 2rem;
  width: 70%;
  box-shadow: 0.5rem 0.5rem 1rem rgba(0,0,0,0.1);
}
            
          
!
            
              $(function(){
  $(".typed").typed({
    strings: [
      "Lorem ipsum dolor sit amet consectetutor ad sed vitae dings.",
      "At vero eos et accusam et justo duo dolores et ea rebum.",
      "Consetetur sadipscing elitr, sed diam nonumy eirmod tempor."
    ],
    typeSpeed: 0,
    contentType: 'html',
    loop: true,
    showCursor: false,
    backDelay: 2500,
    typeSpeed: -20,
    backSpeed: -50,
   
    preStringTyped: function(curString) {
      var colors = [
        "#2980b9", "#8e44ad", "#e67e22", "#2c3e50", "#16a085", "#c0392b", "#d35400", "#1abc9c", "#2ecc71"
      ];
			var rand = colors[Math.floor(Math.random() * (colors.length - 1))];
      
      var newColor = rand;
      /*

      
      */
      
      $("body").css("backgroundColor", newColor);
    }
  });
});
            
          
!
999px
Loading ..................

Console