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.

+ add another resource


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


Add Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import or require. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.


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.

Editor Settings

Code Indentation

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

Visit your global Editor Settings.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

              <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">
<footer class="container-fluid">
  <button type="button" class="btn btn-info btn-block">Continue</button>

              * {
  	-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%; background-color: #000}

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;

#wiki-results {
  background-color: #000;
  li {
    list-style-type: none;

footer {
  display: absolute;
  background-color: #000;
              // //declare reset function
// function reset (callback) {
//     // Test if ANY/ALL page animations are currently active
//     var testAnimationInterval = setInterval(function () {
//         if (! $.timers.length) { // any page animations finished
//             clearInterval(testAnimationInterval);
//             callback();
//         }
//     }, 25);
// };

// reset(function () { // <-- this will run once all the above animations are finished

//     // your callback (things to do after all animations are done)
//     runNextAnimations();
// });

//initialize scrolling text function
  function(scroll) {
    var window_width = window.innerWidth;
    var speed = 12 * window_width;
    scroll('#scrolling-text h1').animate({
      left: '-980px'
    }, speed, 'linear');

//press "enter" key trigger search function
$('form').submit(function(e) {

  function getTerms() {
    searchText = $("#search-box").val();
    console.log("search val set")
      //concatenate URL
    searchURL = '' + searchText + '&limit=12&callback=?';
  //query wiki
  function runWiki(getTerms) {
    $.getJSON(searchURL, function(data) {
      title = "", description = "", link = "";
      for (var i = 0; i < 10; i++) {
        title = data[1][i];
        description = data[2][i];
        link = data[3][i];
        console.log(title + description + link);
        $('#wiki-results ul').prepend("<a href=\"" + link + "\" target=\"_blank\">\n" + "<li>\n" + "<h2>" + title + "</h2>\n" + "<p>" + description + "</p></li>\n" + "<br>");