Ninja

by rami7250

HTML

<h2>Images</h2>
	<ul>

        <li>
			<label for="futurebox08"><a href="http://coreneto.com" target="new"><img src="http://www.thecssninja.com/demo/futurebox/gr_ninja-attack_med.gif" width="150" height="150" alt="The CSS Ninja" /></a></label>
		</li>
         <li>
			<label for="futurebox09"><a href="http://coreneto.com" target="new"><img src="http://www.thecssninja.com/demo/futurebox/gr_ninja-attack_med.gif" width="150" height="150" alt="The CSS Ninja" /></a></label>
		</li>
         <li>
			<label for="futurebox10"><a href="http://coreneto.com" target="new"><img src="http://www.thecssninja.com/demo/futurebox/gr_ninja-attack_med.gif" width="150" height="150" alt="The CSS Ninja" /></a></label>
		</li>
<li>
			<label for="futurebox11"><a href="http://coreneto.com" target="new"><img src="http://www.thecssninja.com/demo/futurebox/gr_ninja-attack_med.gif" width="150" height="150" alt="The CSS Ninja" /></a></label>
		</li>
	</ul>

CSS

*, html { font-family: Verdana, Arial, Helvetica, sans-serif; }
html, body { height: 100%; }

body, form, ul, li, p, h1, h2, h3, h4, h5
{
	margin: 0;
	padding: 0;
}
body { background-color: #606061; color: #ffffff; }
img { border: none; }
p
{
	font-size: 12px;
	margin: 0 0 1em 0;
}
h2 { padding: 10px 0 0 20px; }
.clear + h2 { padding: 0 0 0 20px; }
.clear
{
	height: 0 !important;
	line-height: 0 !important;
	clear: both !important;
	font-size: 1px !important;
	margin: 0;
	padding: 0;
	float: none !important;
}
	
/* Futurebox styles */
ul
{
	padding: 20px 0 20px 20px;
	float: left;
}
	ul li
	{
		display: inline-block;
		float: left;
		list-style: none;
		margin: 0 25px 0 0;
		border: 5px solid #ccc;
		-webkit-border-radius: 5px;
		-moz-border-radius: 5px;
		border-radius: 5px;
	}
		ul li:hover { 	-moz-box-shadow: 0 0 8px 8px #3aaaf1;
    -webkit-box-shadow: 0 0 8px 8px#3aaaf1;
    box-shadow: 0 0 8px 8px #3aaaf1; }
	
		ul li img, ul li label 
		{ 
			display: block; 
			cursor: pointer; 
		}
		
		ul li input { display: none; }
		ul li input:checked + .overlay { display: table; }

.overlay
{
	width: 100%;
	height: 100%;
	position: absolute; 
	top: 0; 
	left: 0; 
	display: none; 
	z-index: 999;
	background: rgb(0,0,0);
	background: rgba(0,0,0,0.7);
}
	.overlay label
	{
		display: table-cell; 
		vertical-align: middle; 
		text-align: center;
	}
		.overlay img,
		.overlay iframe
		{
			display: inline;
			border: none;
			padding: 10px;
			-webkit-border-radius: 10px;
			-moz-border-radius: 10px;
			border-radius: 10px;
			background: #ffffff;
		}
		

	#futurebox07 + .overlay .inner_content { height: 265px; }
	.content01 img:first-child { float: left; display: block; margin: 0 10px 0 0; }
	.content01 img { float: right; margin: 0 10px; padding: 0; }
	
.content02
{
	width: 1020px;
	padding: 0;
}