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.

            
              <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">
</div>
  <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">
</div>
  <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">

</div>
<br>
<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>


            
          
!
            
              .pic{
	width:200px;
	height:150px;
	cursor: crosshair;	
}

.zoomie{
	z-index:10;
	width: 800px;
	height: 600px;
	position: fixed;
	top: 170px;
	left: 10px;
}
.picbig{
	-webkit-transform:scale(0,0);
  transform:scale(0,0);
	opacity:.5;
}
.pic:hover{
	box-shadow: 0 0 0 2px silver, 0 0 5px 4px #333;	
	
}
.pic:active + .zoomie>.picbig, .pic:hover + .zoomie>.picbig{	
	-webkit-transform:scale(1,1);
  transform:scale(1,1);	
	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;	
}
            
          
!
999px
Loading ..................

Console