cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource

Code Indentation


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.

              <!-- Note: Does not work on mobile -->

<h3 style="text-align: center; color: #ffffff;">Hover over image to see scrolling effect</h3>

<div class="portfolio">
  <div class="img01">
    <img class="img-responsive center" src="https://s9.postimg.org/kbrdymu8f/mac_monitor_frame.png">
              /* The monitor image is a transparent .png (drag image to see) with the area under the screen textured with the same pattern as the body. The textured area wouldn't be necessary if a laptop image was used instead! I just liked this look more :P */

body {
  background-image: url("https://s10.postimg.org/iql0ijnrd/texture3.png");

.portfolio {
  margin: 50px auto;
  overflow: hidden;

.img01 img {
  background-image: image-url("https://s9.postimg.org/j45t51s6n/kawaiibesu.png"), image-url("https://s10.postimg.org/577w5srk9/background_kb.png");
  background-position: 40% -10%;
  background-repeat: no-repeat;
  -webkit-transition:background-position 3.5s ease;
  position: relative;
  z-index: 1;
  margin: 0 auto;

.img01 img:hover {
  background-position: 40% 132%;
  position: relative;
Loading ..................