Pen Settings

HTML

CSS

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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ add another resource

JavaScript

Babel includes JSX processing.

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

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

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.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <h1>Morshinin</h1>
<div class="flyaway">
  <div class="layout">
    Брутализм layout
  </div>
</div>
              
            
!

CSS

              
                h1 {
  font-family: sans-serif;
  text-transform: uppercase;
  color: white;
  margin: auto;
  text-shadow: 1px 10px 2px rgba(0,0,0,.3);
  font-size: 156px;
  position: relative;
  opacity: .5;
  letter-spacing: 1px;
  animation: letterSpacing 2s ease infinite alternate;
}

body {
  font-family: sans-serif;
  position: relative;
  z-index: 100;
  background: 
  linear-gradient(135deg, #E49417 25%, transparent 25%) -50px 0,
  linear-gradient(225deg, #E49417 25%, transparent 25%) -50px 0,
  linear-gradient(315deg, #E49417 25%, transparent 25%),
  linear-gradient(45deg, #E49417 25%, transparent 25%),
    
    linear-gradient(135deg, #E97714 55%, transparent 25%) -50px 0,
  linear-gradient(225deg, #E97714 25%, transparent 25%) -50px 0,
  linear-gradient(315deg, #E97714 25%, transparent 25%),
  linear-gradient(45deg, #E97714 25%, transparent 25%);	
  background-size: 2em 2em;
  background-color: #232323;
  animation: gradient 12s ease infinite;
}

body:before {
  content: '';
  position: absolute;
  background: 
    linear-gradient(135deg, #E97714 55%, transparent 25%) -50px 0,
  linear-gradient(225deg, #E97714 25%, transparent 25%) -50px 0,
  linear-gradient(315deg, #E97714 25%, transparent 25%),
  linear-gradient(45deg, #E97714 25%, transparent 25%);
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: none;
  top: 0;
  left: 0;
  z-index: -100;
  display: block;
  background-size: 2em 2em;
  animation: linear2 20s ease infinite;
}

@keyframes linear2 {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 0% 100%;
	}
	100% {
		background-position: 50% 0%;
	}
}

/* @keyframes gradient {
  0% {
		background-position: 50% 0%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
} */

@keyframes letterSpacing {
  0% {
    letter-spacing: 1px;
  }
  100% {
    letter-spacing: 60px;
  }
}

.layout {
  width: 140px;
  height: 40px;
  background: #000;
  color: crimson;
  text-shadow: 1px 0 10px rgba(150, 150, 0, .9);
  padding: 20px;
  animation: rotateme 30s infinite linear;
}

.flyaway {
  animation: fly 10s ease infinite alternate;
}

@keyframes rotateme {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg)
  }
}

@keyframes fly {
  0% {
    transform: translate(0);
  }
  100% {
    transform: translate(1000px);
  }
}
              
            
!

JS

              
                
              
            
!
999px

Console