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.

            
              <!-- Lightbox without javascript or jquery Developed by: AfzaaL MughaL
email: welcomemughal@gmaila.com
enjoy and have fun
fot better  result view as full-page
-->

<div class="wrap-box"><h2>Hover the Thumbnail :-)</h2><p>Then Click and Surprise 8></p>
		<ul class="gallery">
			<li class="image-thumbnail"><a href="#lightbox_1"><img src="http://www.anipedia.net/imagenes/elefantes-800x375.jpg" alt="Summer Season" class="image"></a></li>
			<li class="image-thumbnail"><a href="#lightbox_2"><img src="http://www.anipedia.net/imagenes/imagen-aguilas-800x375.jpg" alt="Summer Season" class="image"></a></li>
			<li class="image-thumbnail"><a href="#lightbox_3"><img src="http://www.anipedia.net/imagenes/conejos-800x375.jpg" alt="Summer Season" class="image"></a></li>
			<li class="image-thumbnail"><a href="#lightbox_4"><img src="http://www.anipedia.net/imagenes/gatos-800x375.jpg" alt="Summer Season" class="image"></a></li>
			<li class="image-thumbnail"><a href="#lightbox_5"><img src="http://www.anipedia.net/imagenes/leones-800x375.jpg" alt="Summer Season" class="image"></a></li>
			<li class="image-thumbnail"><a href="#lightbox_6"><img src="http://www.anipedia.net/imagenes/tigres-800x375.jpg" alt="Summer Season" class="image"></a></li>
		</ul>
	</div>
		<div class="light-box" id="lightbox_1">
		<div class="edges"><span class="close-btn"><a href="#">X</a></span>
			<p class="title">This is First Image</p>
			<div class="inner-image">
				<img src="http://www.anipedia.net/imagenes/elefantes-800x375.jpg" alt="image 01" class="swap"/>
					<span class="image-title">Click Here for Learn More...</span>
				</div>
					<span class="next-btn"><a href="#lightbox_2">Next</a></span>
					<span class="previous-btn"><a href="#lightbox_6">Previous</a></span>
			</div>
		</div> <!-- Lightbox Image 01 -->
		<div class="light-box" id="lightbox_2">
		<div class="edges"><span class="close-btn"><a href="#">X</a></span>
			<p class="title">This is Second Image</p>
			<div class="inner-image">
				<img src="http://www.anipedia.net/imagenes/imagen-aguilas-800x375.jpg" alt="image 02"/>
					<span class="image-title">Click Here for Learn More...</span>
				</div>
					<span class="next-btn"><a href="#lightbox_3">Next</a></span>
					<span class="previous-btn"><a href="#lightbox_1">Previous</a></span>
			</div>
		</div> <!-- Lightbox Image 02 -->
		<div class="light-box" id="lightbox_3">
		<div class="edges"><span class="close-btn"><a href="#">X</a></span>
			<p class="title">This is Thired Image</p>
			<div class="inner-image">
				<img src="http://www.anipedia.net/imagenes/conejos-800x375.jpg" alt="image 03"/>
					<span class="image-title">Click Here for Learn More...</span>
				</div>
					<span class="next-btn"><a href="#lightbox_4">Next</a></span>
					<span class="previous-btn"><a href="#lightbox_2">Previous</a></span>
			</div>
		</div> <!-- Lightbox Image 03 -->
		<div class="light-box" id="lightbox_4">
		<div class="edges"><span class="close-btn"><a href="#">X</a></span>
			<p class="title">This is Fourth Image</p>
			<div class="inner-image">
				<img src="http://www.anipedia.net/imagenes/gatos-800x375.jpg" alt="image 4"/>
					<span class="image-title">Click Here for Learn More...</span>
				</div>
					<span class="next-btn"><a href="#lightbox_5">Next</a></span>
					<span class="previous-btn"><a href="#lightbox_3">Previous</a></span>
			</div>
		</div> <!-- Lightbox Image 04 -->
		<div class="light-box" id="lightbox_5">
		<div class="edges"><span class="close-btn"><a href="#">X</a></span>
			<p class="title">This is Fifth Image</p>
			<div class="inner-image">
				<img src="http://www.anipedia.net/imagenes/leones-800x375.jpg" alt="image 05"/>
					<span class="image-title">Click Here for Learn More...</span>
				</div>
					<span class="next-btn"><a href="#lightbox_6">Next</a></span>
					<span class="previous-btn"><a href="#lightbox_4">Previous</a></span>
			</div>
		</div> <!-- Lightbox Image 05 -->
		<div class="light-box" id="lightbox_6">
		<div class="edges"><span class="close-btn"><a href="#">X</a></span>
			<p class="title">This is Sixth Image</p>
			<div class="inner-image">
				<img src="http://www.anipedia.net/imagenes/tigres-800x375.jpg" alt="image 06"/>
					<span class="image-title">Click Here for Learn More...</span>
				</div>
					<span class="next-btn"><a href="#lightbox_1">Next</a></span>
					<span class="previous-btn"><a href="#lightbox_5">Previous</a></span>
			</div>
		</div> <!-- Lightbox Image 06 -->


            
          
!
            
              
/*
These Contents Developed by: AfzaaL MughaL
email: welcomemughal@gmaila.com
NOTE:
for better result view as Full_page

have fun
*/
*{padding:0;margin:0;text-decoration:none;list-style-type:none;font-family:'roboto', sans-serif;}
::selection{color:#fff;background-color:#ff6666;}
h2{margin-top:10px;color:#fff;text-align:center;letter-spacing:1px;}
p{color:#fff;text-align:center;}
.wrap-box{width:100%;height:auto;}
.gallery{display:inline-block;width:auto;height:auto;margin:70px 100px;}
.image-thumbnail{display:inline-block;width:auto;height:auto;background-color:#eee;margin:5px 4px;padding:5px;cursor:pointer;box-shadow:3px 2px 5px #444;transition:300ms ease;}
.image-thumbnail img{display:block;width:360px;height:200px;}
.gallery:hover .image-thumbnail:not(:hover){filter:blur(2px) grayscale(1);opacity:0.7;transform:scale(0.9);}
/*        Light Box Styling             */
.light-box{position:fixed;top:0;left:0;visibility:hidden;opacity:0;width:100%;height:100%;background-color:rgba(72,73,74,0.7);transition:500ms ease;}
.light-box:target{visibility:visible;opacity:1;}
.edges{width:min-content;height:auto;background-color:#ccc;padding:20px;margin:30px auto;box-shadow:0 0 30px #333;}
.title{color:#222;fot-size:20px;text-align:center;}
.inner-image{position:relative;width:100%;height:100%;}
.inner-image img{max-width:700px;max-height:450px;}
.close-btn, .next-btn{float:right;}
.close-btn{padding:5px 0;}
.close-btn, .next-btn, .previous-btn{font-size:16px;}
span a{color:#444;}
.image-title{position:absolute;bottom:10px;font-size:16px;color:#222;background-color:transparent;border-bottom:5px solid #eee;padding:10px;cursor:pointer;opacity:0;transition:300ms ease;}
inner-image:hover .image-title{opacity:0.8;}








            
          
!
            
              // here are Light Box with out Javascript
// without Jquery
//AfzaaL MughaL
//welcomemughal@gmail.com
//  NOTE
// for better result view as Full Page

            
          
!
999px
Loading ..................

Console