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. 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.

+ add another resource

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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

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

              
                <div id='error-page'>
  <div id='error-inner'>
    <div class='box-404'>404</div>
    <h1>PAGE NOT FOUND</h1>
    <p>You are half way around the word, but OOPS you make the wrong turn,
let us lead you to the right way,</p>
    <p> return to our
      <a href='http://www.seocips.com' title='HOME'>homepage</a> ?
    </p>
    <div id='search-box'>
      <form action='/search' id='cse-search-box' method='get'>
        <input id='search-text' name='q' onblur='if(this.value==&apos;&apos;)this.value=this.defaultValue;' onfocus='if(this.value==this.defaultValue)this.value=&apos;&apos;' type='text' value='' />
        <button id='search-button' type='submit' />
      </form>
    </div>
  </div>
</div>
<canvas id="c"></canvas>
<script src='https://cdn.rawgit.com/Brando07/share/newbe/matrix-rain-seocips.js' type='text/javascript'/></script>

              
            
!

CSS

              
                /*Halaman 404 Seocips*/
canvas {display: block;z-index: 77777;}
body{background:#333;margin:0;padding:0;font-family: calibri;color:#ddd;}
#error-page {
  position: fixed !important;
  position: absolute;
  text-align: center;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 88888;text-shadow:0 3px 4px #000;
}
#error-page a:link, #error-page a:visited, #error-page a:hover{text-decoration:none; color:#fff;font-weight: bold;}
#error-inner {
  margin: 11% auto;
}

#error-inner .box-404 {
  width: 200px;
  height: 200px;
  background:rgba(1, 0, 1, 0.9);
  color: #ccc;
  font-size: 80px;
  line-height: 200px;
  border-radius: 10px;
  margin: 0 auto 50px;
  position: relative;
  z-index:9999;box-shadow:0 3px 4px #000;border:1px solid #333;
    text-shadow:0 3px 4px #000;
}

#error-inner .box-404::after {
  content: &quot;
  &quot;
  ;
  width: 0;
  height: 0;
  bottom: -8px;
  border-color: #21afa4 transparent transparent;
  border-style: solid;
  border-width: 9px 9px 0;
  position: absolute;
  left: 47%;
}

#error-inner h1 {
  text-transform: uppercase;
}

#search-box {
  position: relative;
  width: 350px;
  margin: 10px auto
}

#cse-search-box {
  height: 30px;
  border-radius: 5px;
  background-color: #fff;
  overflow: hidden;
  box-shadow:0 3px 4px #000;border:1px solid #333;
}

#search-text {
  font-size: 12px;
  color: #ddd;
  border-width: 0;
  background: transparent
}

#search-box input[type=&quot;
text&quot;
] {
  width: 85%;
  padding: 5px 20px 12px 0;
  color: #666;
  outline: none
}

#search-button {
  position: absolute;
  top: 0;
  right: 0;
  height: 32px;
  width: 20px;
  margin-top: 10px;
  font-size: 14px;
  color: #fff;
  text-align: center;
  line-height: 0;
  border-width: 0;
  background: url(https://1.bp.blogspot.com/_C6KkooKXCEw/TIBqtV6pdmI/AAAAAAAAGyM/QUBsym_R9V0/s200/search-c.png) no-repeat;
  cursor: pointer
}

#error-inner p {
  line-height: 0.7em;
  font-size: 15px;
}

              
            
!

JS

              
                var c = document.getElementById("c");
var ctx = c.getContext("2d");

//making the canvas full screen
c.height = window.innerHeight;
c.width = window.innerWidth;

//chinese characters - taken from the unicode charset
var chinese = "田由甲申甴电甶男甸甹町画甼甽甾甿畀畁畂畃畄畅畆畇畈畉畊畋界畍畎畏畐畑";
//converting the string into an array of single characters
chinese = chinese.split("");

var font_size = 10;
var columns = c.width/font_size; //number of columns for the rain
//an array of drops - one per column
var drops = [];
//x below is the x coordinate
//1 = y co-ordinate of the drop(same for every drop initially)
for(var x = 0; x < columns; x++)
	drops[x] = 1; 

//drawing the characters
function draw()
{
	//Black BG for the canvas
	//translucent BG to show trail
	ctx.fillStyle = "rgba(0, 0, 0, 0.05)";
	ctx.fillRect(0, 0, c.width, c.height);
	
	ctx.fillStyle = "#0F0"; //green text
	ctx.font = font_size + "px arial";
	//looping over drops
	for(var i = 0; i < drops.length; i++)
	{
		//a random chinese character to print
		var text = chinese[Math.floor(Math.random()*chinese.length)];
		//x = i*font_size, y = value of drops[i]*font_size
		ctx.fillText(text, i*font_size, drops[i]*font_size);
		
		//sending the drop back to the top randomly after it has crossed the screen
		//adding a randomness to the reset to make the drops scattered on the Y axis
		if(drops[i]*font_size > c.height && Math.random() > 0.975)
			drops[i] = 0;
		
		//incrementing Y coordinate
		drops[i]++;
	}
}

setInterval(draw, 33);

              
            
!
999px

Console