Pen Settings



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


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


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.


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.


                <div class="container-fluid"></div>

<div class="hero-bg">
  <div id="scrolling-text">
    <h1 id="signature">Created By: DevOpSec</h1>
  <div class="hero-content">
    <form class="search-container" action="#">
      <span id="search-title"> Search Here </span>
  <input id="search-box" type="text" class="search-box" name="q" />
  <label for="search-box"><span class="glyphicon glyphicon-search search-icon"></span></label>
  <input type="submit" id="search-submit" />
  <a href="" target="_blank" class="round green" id="random-wiki">random wiki</a>
<div class="container-fluid" id="wiki-results">



                * {
  	-moz-box-sizing: border-box;
		-o-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		box-sizing: border-box;

$tl: 1.0s; // transition length for search button

.search-box {
  transition: width $tl, border-radius $tl, background $tl, box-shadow $tl;
  width: 40px;height: 40px;
  border-radius: 20px;border: none;
  cursor: pointer;
  background: rgb(235, 235, 235);
  & + label .search-icon {    color: black    }
  &:hover {
    color: white;
    background: rgb(200, 200, 200);
    box-shadow: 0 0 0 5px rgb(61, 71, 82);
    & + label .search-icon {    color: white    }
  &:focus {
    transition: width $tl cubic-bezier(0,1.22,.66,1.39), border-radius $tl, background $tl;
    border: none;outline: none;
    box-shadow: none;
    padding-left: 15px;
    cursor: text;
    width: 400px;
    border-radius: auto;
    background: rgb(235, 235, 235);
    color: black;
    & + label .search-icon {    color: black;    }
  &:not(:focus) {    text-indent:-5000px;    } // for more-graceful falling back (:not browsers likely support indent)

.search-container {
  position: relative;
  margin-bottom: 10%; margin-left: 10%; 

#search-submit {
  position: relative;left: -5000px;

.search-icon {
  position: relative;
  left: -30px;
  color: white;
  cursor: pointer;

@import "compass/css3";

html {font-size:16px; margin:0; padding: 0; width: 100%;}

body { font-family:"Helvetica Neue", Helvetica, sans-serif; margin:0; text-align:center; padding: 0; width: 100%; }

h1 { line-height:100px; margin:0; font-size: 22px; color: #fff;}

.hero-bg {
  background:url( no-repeat center center;
// hero banner media queries
  @media (min-width:641px) and (max-width:1024px) {
    background:url( no-repeat center center;
  @media (min-width:1025px) and (max-width:1500px) {
    background:url( no-repeat center center;
  @media (min-width:1501px){
    background:url( no-repeat center center;

.hero-content {
  position: relative;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-box;
  display: box;
  -webkit-box-orient: vertical;
  -moz-box-orient: vertical;
  -ms-box-orient: vertical;
  box-orient: vertical;
  -webkit-box-pack: center;
  -moz-box-pack: center;
  -ms-box-pack: center;
  box-pack: center;
  height: 100%;

#search-title {
		position: flex;
		width: 10%;
		height: 10%;				
		text-align: center;
		font-size: 2em;		
		letter-spacing: .06em;

	.round {
    margin-right: auto;
		display: inline;
		position: relative;
		width: 10%;
		height: 10%;		
		text-decoration: none;		
		text-align: center;
		font-size: 20px;		
		text-shadow: 0 1px 0 rgba(0,0,0,1);
		letter-spacing: -.065em;
		font-family: "Hammersmith One", sans-serif;		
		-webkit-transition: all .25s ease-in-out;
		-o-transition: all .25s ease-in-out;
		-moz-transition: all .25s ease-in-out;
		transition: all .25s ease-in-out;
		box-shadow: 2px 2px 7px rgba(0,0,0,.2);
		border-radius: 100px;
		z-index: 1;
		border-width: 4px;
		border-style: solid;

	.round:hover {
    text-color: #fff;
		width: 13%;
		height: 13%;
		font-size: 24px;
		-webkit-box-shadow: 5px 5px 10px rgba(0,0,0,.3);
		-o-box-shadow: 5px 5px 10px rgba(0,0,0,.3);
		-moz-box-shadow: 5px 5px 10px rgba(0,0,0,.3);
		box-shadow: 5px 5px 10px rgba(0,0,0,.3);
		z-index: 2;
		border-size: 10px;
		-webkit-transform: rotate(-360deg);
		-moz-transform: rotate(-360deg);
		-o-transform: rotate(-360deg);
		transform: rotate(-360deg);
	} {
		background-color: rgba(101,15,124,1);
		color: rgba(50,100,200,1);
		border-color: rgba(0,42,200,2);
	} {
		color: #d0d;

#scrolling-text {
  position: relative; overflow: hidden;
  width: 100%; height: 40px;
  font-family: 'Helvetica-Neue', Helvetica, Arial, sans-serif;

#scrolling-text h1 {
	width: 980px;
	line-height: 35px;
  height: 35px;
	position: absolute;
	top: 0;
	left: 100%;
	text-align: center;
	list-style: none;

#results-container {
  background-color: #000000;


var init = function() {
  $('#search-box').on('keyup', getResults);

var getResults = function(e) {
  var searchText = $(this).val();
  if (e.which == '13') {
    $.getJSON('' + searchText, function(data) {
       // $('#wiki-results').append(data);