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


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.


  span # 
  span#cursor _  


                *::selection {
  background: #000;
  color: white;

body {
  background-color: white;
	padding: 1%;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 1em;

a {
  color: black;
  background: #ddd;
	text-decoration: none;
  &:hover {
	  text-decoration: underline;

#console {
  font-family: "Lucida Sans Typewriter", "Lucida Console", Monaco, "Bitstream Vera Sans Mono", monospace;
	color: black;

@media (max-width: 600px) {
  #console {
    font-size: 10px;


                $(document).ready(function() {
  setInterval('cursorAnimation()', 600);
  var cow = "<br/>&nbsp;,__,<br/>&nbsp;(oo)____<br/>&nbsp;(__)&nbsp;&nbsp;&nbsp;&nbsp;)\\<br/>&nbsp;&nbsp;&nbsp;&nbsp;||--|| *<br/><br>";
  var content = "whois nicholas.adamou<br>" + cow + "<br>Nicholas Adamou is IBM software engineer and recent graduate of Cornell College.<br><br>Nick first found technolust after he made his first <a href='#'>Raspberry Pi</a> diy hack in summer, 2015.<br><br>Damn the warranties, it's time to Trust your Technolust.<br><br>";
  var contact = "<strong>Contact</strong>:&nbsp;&nbsp;<a href='#'>github</a>&nbsp;<a href='#'>codepen</a>&nbsp;<a href='#'>keybase</a>&nbsp;<a href='#'>twitter</a>&nbsp;<a href='#'>donate</a>&nbsp;<a href='#'></a><br><br>";
  var end = "# ";
  var text = content + contact + end;
  function type(text, new_caption_length) {
    captionLength = new_caption_length || 0;

    $('#caption').html(text.substr(0, captionLength++));
    if(captionLength < text.length + 1) {
        setTimeout(function() {
            type(text, captionLength);
        }, 1);
  function erase() {
    caption = $('#caption').html();
    captionLength = caption.length;
    if(captionLength > 0){
        $('#caption').html(caption.substr(0, captionLength - 1));
        setTimeout(function() {
        }, 1);
  function cursorAnimation() {
        opacity: 0
    }, 'fast', 'swing').animate({
        opacity: 1
    }, 'fast', 'swing');