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.

              $color1: #EB4A2C;
$color2: #F5ECCF;
$color3: #640E13;
$color4: #FCB043;
$cubic-bezier: cubic-bezier(0.68, -0.55, 0.265, 1.55);

//initial text-shadow function
@function textShadow($color){
	//value variable: x-value, y-value, color value;
	$val: 0px 0px $color;
	//loop to create text-shadow variables moving 1px to the left and 1 down
	@for $i from 1 through 50{
		$val: #{$val}, -#{$i}px #{$i}px #{$color};
	//return value
	@return $val;

@function textAnimationShadow($color1, $color2,$color3,$color4,$color5){
	$val1: 0px 0px $color1;
	$val2: 0px 0px $color2;
	$val3: 0px 0px $color3;
	$val4: 0px 0px $color4;
	$val5: 0px 0px $color5;
	@for $i from 1 through 10{
		$val1: #{$val1}, -#{$i}px #{$i}px #{$color1};
	@for $i from 11 through 20{
		$val2: #{$val2}, -#{$i}px #{$i}px #{$color2};
	@for $i from 21 through 30{
		$val3: #{$val3}, -#{$i}px #{$i}px #{$color3};
	@for $i from 31 through 40{
		$val4: #{$val4}, -#{$i}px #{$i}px #{$color4};
	@for $i from 41 through 50{
		$val5: #{$val5}, -#{$i}px #{$i}px #{$color5};
	@return $val1, $val2, $val3, $val4, $val5;

//mixin to create initial text-shadow
@mixin shadow($shadow-color){
	text-shadow: textShadow($shadow-color);
//mixin to create animation shadow, can enter 5 color variables
@mixin animationShadow($shadow-color1, $shadow-color2,$shadow-color3, $shadow-color4, $shadow-color5){
	text-shadow: textAnimationShadow($shadow-color1, $shadow-color2,$shadow-color3, $shadow-color4, $shadow-color5);

	height: 100%;

	background: $color4;
	display: flex;
	align-items: center;
	align-content: center;
	justify-content: center;

	font-family: 'Shrikhand', cursive;
	text-align: center;
	font-weight: normal;
	font-size: 7rem;
	color: $color2;
	@include shadow($color1);
	animation: color 2s ease-in infinite;

@keyframes color{
		color: $color1;
		@include shadow($color3);
		color: $color1;
		@include animationShadow($color3,$color3,$color3,$color3,$color1);
	21%, 30%{
		color: $color1;
		@include animationShadow($color3,$color3,$color3,$color1,$color1);
	31%, 40%{
		color: $color1;
		@include animationShadow($color3,$color3,$color1,$color1,$color1);
	41%, 50%{
		color: $color1;
		@include animationShadow($color3,$color1,$color1,$color1,$color1);
		color: $color2;
		@include animationShadow($color1,$color1,$color1,$color1,$color1);
		color: $color2;
		@include animationShadow($color1,$color1,$color1,$color1,$color1);
Loading ..................