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.

			span.sentence.sentence--show Do you not think so far ahead? Because I've been thinking about forever
			span.sentence I remember how I forget how you feel. How you were the first for me

a(href="http://nathan.tokyo" target="_blank").sig NATHAN.TOKYO
              $main: #EBE8E1;
$second: #333;
$back: #F0CF61;

$time: 1000ms;

	position: relative;
	text-align: center;
	height: 3em;

		position: absolute;
		display: block;
		overflow: hidden;
		width: 100%;
		z-index: 1;
    color: transparent;
			position: relative;
			display: block;
			width: 100%;
			color: transparent;
			transition: color 1ms;
			transition-delay: 500ms;
				transition-delay: $time*4/6;
				transition-delay: $time*5/6;
				content: '';
				position: absolute;
				width: 100%;
				height: 100%;
				top: 0;
				left: 0;
				background: $main;
				transform: translateX(-100%);
				transform-origin: 0% 50%;
			z-index: 2;
				color: $second;
				transform: translateX(100%);
				transition: transform $time ease-in-out;
				transition-delay: $time*1/6;
				transition-delay: $time*2/6;

	background: $back;
	color: $second;
	font-family: 'Avenir', sans-serif;
	font-weight: 100;
	font-size: 5vw;

	position: absolute;
	top: 50%;
	left: 50%;
	width: 60vw;
	transform: translate3d(-50%,-50%,0);

  position: fixed;
  bottom: 5px;
  right: 5px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  font-family: sans-serif;
  color: rgba(0,0,0,0.4);

function linePage(){

	var splitMe = $('.sentence');


		var text = $(this).html();
		var output = '';

		//split all letters into spans
		for (var i = 0, len = text.length; i < len; i++) {
		  	output += '<span data-index="'+i+'">' + text[i] + '</span>';

		//put it in the html

		//check the offset of each letter to figure out where the line breaks
		var prev = 0;
		var parts = [];
			if ($(this).offset().top > prev){
				prev = $(this).offset().top;


		//create final 
		var finalOutput = ''

		parts.forEach(function(endPoint, i){
			if (endPoint > 0){
				finalOutput += '<span data-line="'+i+'" class="line-wrap"><span class="line-inner">' + text.substring(parts[i-1],parts[i]) + '</span></span>';




function cycleText(){



	}, 4000)

Loading ..................