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.


                <input id="trigger" class="toggle-checkbox" type="checkbox"><label for="trigger">And... Go!</label>

<div class="z">
	<svg class="braaains" xmlns="" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.41421" clip-rule="evenodd" viewBox="0 0 110 130">
  <path fill="#3a3a3a" fill-rule="nonzero" d="M30.712 5.0357h4.535v-5.036h35.246v5.036h5.036v10.007H35.247v.063h-5.036v-10.07h.501z"/>
  <path fill="#676767" fill-rule="nonzero" d="M0 90.6347h5.035v-5.036h5.035v-5.035h5.036v-5.035h5.035v-5.035h65.472v5.035h5.021v5.035h5.035v5.035h5.036v5.036h5.035v5.035l-25.176 20.141v-20.009h-5.035v30.079h-.119v3.51H30.211v-33.589h-5.035v9.938L0 95.6697v-5.035z"/>
  <path fill="#91c1a3" fill-rule="nonzero" d="M100.71 105.7404v-.123h-15.3v-9.948h20.33v10.071h-5.03zM0 95.6694h19.953v12.588H0zm40.282-30.2117h25.176v10.008H40.282v-10.008z"/>
  <path fill="#9cd3b3" fill-rule="nonzero" d="M0 105.7404h5.04v-5.036h25.17v5.036h-5.22v5.035h.19v5.035h-5.04v5.035H9.98v-5.035H5.04v-5.035H0v-5.035zm100.9 0h4.84v5.035h-4.84v5.292h-5.23v4.778H85.41v-4.778h-4.84v-10.327h-5.04v-5.036h25.37v5.036z"/>
  <g fill-rule="nonzero">
    <path fill="#9cd3b3" d="M30.211 60.4227v-5.035h-5.035v-14.848h-5.049v-15.363h5.049v-5.036h5.035v-5.035h5.036v-5.035h35.636v5.035h4.646v5.035h5.035v5.036h5.035v15.363h-5.035v14.848h-5.035v5.035h-4.646v5.035H60.68v5.036H45.317v-5.036h-10.07v-5.035h-5.036z"/>
    <path fill="#91c1a3" d="M50.35239 30.21164h5.035239v14.98059H50.35239z"/>
    <path fill="#758b7c" d="M45.37984 57.40031v-5.035239h14.98059v5.035239z"/>
	  <g id="eye1">
    <path fill="#fbeb8e" d="M35.24683 20.14105h14.98059v15.36309H35.24683z"/>
    <path fill="#444445" d="M35.246673 25.176195h5.035239v5.035239h-5.035239z"/>
	  </g><g id="eye2">
    <path fill="#fbeb8e" d="M55.3873 20.14105h15.4953v15.36309H55.3873z"/>
    <path fill="#444445" d="M60.422868 20.140956h5.035239v5.035239h-5.035239z"/>
    <path fill="#3a3a3a" d="M25.176195 15.10564h5.035239v19.95318h-5.035239zm50.35239 0h5.035239v19.95318h-5.035239z"/>

<div class="logo"><a href="" target="_blank"><img src="" alt="Getting Braaains should be fun"></a></div>


                .toggle-checkbox:checked ~ .z #eye1 {
animation: 10s infinite eyeblink 1s;
.toggle-checkbox:checked ~ .z #eye2 {
animation: 9s infinite eyeblink 1080ms;

@keyframes eyeblink {
  0%, 9%, 11%, 100% {
    transform: translateY(0) scaleY(1);
  10% {
    transform: translateY(25px) scaleY( 0.1 );

.z {
  width: 100%;
  max-width: 400px;
  position: absolute;
  bottom: -1em;
  left: calc( 50% - 200px );

body {
  background-color: mistyrose;
  overflow: hidden;

.logo {
  width: 100%;
  max-width: 400px;
  position: absolute;
  top: 0;
  right: 0;
.logo img {
  width: 100%;
  display: none;
input:checked + label {
  box-shadow: inset 3px 3px 2px #660000;
  transform: translate(3px, 3px);
label {
  font-size: 1.5em;
  color: #FFF;
  background-color: #960B0B;
  width: 140px;
  height: 30px;
  text-align: center;
  font-weight: bold;
  display: block;
  border-radius: 7px;
  box-shadow: 3px 3px 0 #660000;
  cursor: pointer;