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="tricker">
  <h2>Hey I'm first Here</h2>
  <h2>Me, the second</h2>
  <h2>And I am the Third!</h2>
<div class="subline"></div>
<p>Hello, It's the text rotater here. <br> Hope you like it.</p>
              .tricker {
  height: 50px;
  overflow: hidden;
  margin: 100px auto 20px;
.tricker h2 {
  color: #333;
  margin: 0;
  height: 50px;
  line-height: 50px;
  font-size: 40px;
  text-align: center;
  text-transform: uppercase;
  transition: margin-top .3s ease;
.subline {
  width: 100px;
  height: 2px;
  margin: 10px auto;
  background-color: #181818;
p {
  text-align: center;
  line-height: 26px;
  color: #676665;
  font-size: 18px;
              (function($) {
  var duration = 2500;  // change this to change rotation time in milliseconds
  var current = 1;
  var tricker = $(".tricker");
  var height = tricker.height();
  var number = tricker.children().length;
  var first = tricker.children().first();

  setInterval(function() {
    var interv = current * -1 * height;
    first.css("margin-top", interv + "px");
    if (current == number) {
      first.css("margin-top", "0px");
      current = 1;
    } else {
  }, duration);
Loading ..................