cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - Activehtmlicon-personicon-teamoctocatpop-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.

              <img class="pic" src="http://qualitylessons.net/fruits/melon.jpg" alt="melon" >

<div class="zoomie">
  <img class="picbig" src="http://qualitylessons.net/fruits/melon.jpg" alt="melon">
  <img class="pic" src="http://qualitylessons.net/fruits/strawberry.jpg" alt="strawberry">

<div class="zoomie">
  <img class="picbig" src="http://qualitylessons.net/fruits/strawberry.jpg" alt="strawberry">
  <img class="pic" src="http://qualitylessons.net/fruits/oranges.jpg" alt="oranges">	
<div class="zoomie">
  <img class="picbig" src="http://qualitylessons.net/fruits/oranges.jpg" alt="oranges">

<h1>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Facilis, quasi, laborum, odit, ut minus aliquam aperiam odio omnis animi culpa consequatur aliquid doloribus placeat aut voluptatem quis vitae adipisci consequuntur amet quas nostrum libero debitis recusandae! Qui, neque, adipisci, excepturi consequatur modi necessitatibus itaque esse aliquam ad quam accusantium maxime fugit facilis eos harum. Enim, accusantium nostrum nesciunt excepturi quos. Velit, tenetur, sapiente, numquam molestiae vitae excepturi ea perspiciatis placeat quo cumque nemo assumenda soluta nisi aperiam laudantium nihil error iusto non tempore aliquam atque earum dolore? Explicabo, ab, a, laboriosam nemo quos eos incidunt fugit fugiat ex quaerat doloribus.</h1>

	cursor: crosshair;	

	width: 800px;
	height: 600px;
	position: fixed;
	top: 170px;
	left: 10px;
	box-shadow: 0 0 0 2px silver, 0 0 5px 4px #333;	
.pic:active + .zoomie>.picbig, .pic:hover + .zoomie>.picbig{	
	opacity: 1;
	transition:-webkit-transform 400ms, opacity 400ms 300ms;
  transition:transform 400ms, opacity 400ms 300ms;
	box-shadow: 0 0 0 2px silver, 0 0 5px 4px #333;	

Asset uploading is a PRO feature.

As a PRO member, you can drag-and-drop upload files here to use as resources. Images, Libraries, JSON data... anything you want. You can even edit them anytime, like any other code on CodePen.


Loading ..................