Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs 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 its URL and the proper URL extension.

+ 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

Auto Save

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

              
                .wrapper
  .errortext
    .error 
    .opps 
    .looks 
    
.errorbk 


              
            
!

CSS

              
                @import url('https://fonts.googleapis.com/css?family=Bungee+Shade|Ceviche+One|Changa+One|Fira+Sans|Iceberg|Limelight|Montserrat|Plaster|Sedgwick+Ave|UnifrakturCook:700');

body{
  background: #291226;
  background-color: #291226;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='152' height='152' viewBox='0 0 152 152'%3E%3Cg fill-rule='evenodd'%3E%3Cg id='temple' fill='%2378416b' fill-opacity='0.03'%3E%3Cpath d='M152 150v2H0v-2h28v-8H8v-20H0v-2h8V80h42v20h20v42H30v8h90v-8H80v-42h20V80h42v40h8V30h-8v40h-42V50H80V8h40V0h2v8h20v20h8V0h2v150zm-2 0v-28h-8v20h-20v8h28zM82 30v18h18V30H82zm20 18h20v20h18V30h-20V10H82v18h20v20zm0 2v18h18V50h-18zm20-22h18V10h-18v18zm-54 92v-18H50v18h18zm-20-18H28V82H10v38h20v20h38v-18H48v-20zm0-2V82H30v18h18zm-20 22H10v18h18v-18zm54 0v18h38v-20h20V82h-18v20h-20v20H82zm18-20H82v18h18v-18zm2-2h18V82h-18v18zm20 40v-18h18v18h-18zM30 0h-2v8H8v20H0v2h8v40h42V50h20V8H30V0zm20 48h18V30H50v18zm18-20H48v20H28v20H10V30h20V10h38v18zM30 50h18v18H30V50zm-2-40H10v18h18V10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  cursor: pointer;
}

.looks{
}

.opps{
  z-index:4;
  margin:10px;
  opacity:1;
}

.errortext{
  color:#000;
}

.wrapper{
  z-index:2;
  width:390px;
  height:500px;
  background:#291226;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='152' height='152' viewBox='0 0 152 152'%3E%3Cg fill-rule='evenodd'%3E%3Cg id='temple' fill='%2378416b' fill-opacity='0.03'%3E%3Cpath d='M152 150v2H0v-2h28v-8H8v-20H0v-2h8V80h42v20h20v42H30v8h90v-8H80v-42h20V80h42v40h8V30h-8v40h-42V50H80V8h40V0h2v8h20v20h8V0h2v150zm-2 0v-28h-8v20h-20v8h28zM82 30v18h18V30H82zm20 18h20v20h18V30h-20V10H82v18h20v20zm0 2v18h18V50h-18zm20-22h18V10h-18v18zm-54 92v-18H50v18h18zm-20-18H28V82H10v38h20v20h38v-18H48v-20zm0-2V82H30v18h18zm-20 22H10v18h18v-18zm54 0v18h38v-20h20V82h-18v20h-20v20H82zm18-20H82v18h18v-18zm2-2h18V82h-18v18zm20 40v-18h18v18h-18zM30 0h-2v8H8v20H0v2h8v40h42V50h20V8H30V0zm20 48h18V30H50v18zm18-20H48v20H28v20H10V30h20V10h38v18zM30 50h18v18H30V50zm-2-40H10v18h18V10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  position: absolute;
  display: inline-block;
  bottom: 0px;
  left: 0; 
  right: 0; 
  margin-left: auto; 
  margin-right: auto; 
  overflow:hidden;
  /*transform: rotate(25deg);*/
}

.wrapper:before {
  content: "404";
  position:absolute;
  left: 150px;
  bottom: 170px;
  width:100%;
  right: 0;
  z-index:4;
  color:#78416B;
  font-family: 'UnifrakturCook', cursive;
  font-size:300px;
  letter-spacing:-25px;
  transform:translate(-40%, 0) skew(10deg, -15deg) scaleY(.66667);
}


.error:before {
  content: "404";
  position:absolute; 
  left: 148px;
  bottom: 168px;
  width:100%;
  right: 0;
  z-index:3;
  opacity:1;
  color:#78416b;
  font-family: 'UnifrakturCook', cursive;
  font-size:300px;
  letter-spacing:-25px;
  transform:translate(-40%, 0) skew(10deg, -15deg) scaleY(.66667);
}

.error:after {
  content: "404";
  position:absolute;
  left: 153px;
  bottom: 170px;
  width:100%;
  right: 0;
  z-index:5;
  opacity:0.8;
  color:#78416b;
  background:linear-gradient(0deg, rgba(41,18,38,1) 0%, rgba(120,65,107,1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: 'UnifrakturCook', cursive;
  font-size:300px;
  letter-spacing:-25px;
  transform:translate(-40%, 0) skew(10deg, -15deg) scaleY(.66667);
}


.wrapper:after {
  content: "oops!";
  position:absolute;
  z-index:2;
  bottom:-178.5px;
  left:-100px;
  width:150%; 
  height:100%;
  color:#fff;
  font-family: 'UnifrakturCook', cursive;
  transform: rotate(-15deg);
  background: #291226;
  background: linear-gradient(#291226, #000);
  opacity:0.2;
}


.looks:after {
  content: "oops";
  position:absolute;
  z-index:7;
  bottom:-252px;
  left:37px;
  width:90%; 
  height:100%;
  font-size:100px;
  font-family: 'Ceviche One', cursive;
  transform: rotate(0deg);
  color:#000;
  opacity:0.6;
  letter-spacing:50px;
}

.opps:after {
  content: "oops";
  position:absolute;
  z-index:8;
  bottom:-250px;
  left:35px;
  width:90%; 
  height:100%;
  font-size:100px;
  font-family: 'Ceviche One', cursive;
  color:#78416b;
  transform: rotate(0deg);
  opacity:0.5;
  letter-spacing:50px;
}


.looks:before {
  content: "looks like this page is lost.";
  position:absolute;
  z-index:7;
  bottom:-372px;
  left:37px;
  width:80%; 
  height:100%;
  color:#000;
  opacity:0.6;
  font-size:55px;
  font-family: 'Ceviche One', cursive;
  letter-spacing:0px;
  text-align:center;
}


.opps:before {
  content: "looks like this page is lost.";
  position:absolute;
  z-index:8;
  bottom:-370px;
  left:35px;
  width:80%; 
  height:100%;
  color:#78416b;
  font-size:55px;
  font-family: 'Ceviche One', cursive;
  opacity:0.5;
  letter-spacing:0px;
  text-align:center;
}




              
            
!

JS

              
                
              
            
!
999px

Console