Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

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.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <html>
        <head>
            <title>Garrett L Brzozowski</title>
            <link href="style.css" type="text/css" rel="stylesheet" />
            
            <!-- Add jQuery library -->
	<script type="text/javascript" src="lib/jquery-1.10.1.min.js"></script>

	<!-- Add fancyBox main JS and CSS files -->
	<script type="text/javascript" src="source/jquery.fancybox.js?v=2.1.5"></script>
	<link rel="stylesheet" type="text/css" href="source/jquery.fancybox.css?v=2.1.5" media="screen" />

	<script type="text/javascript">
		$(document).ready(function() {
			/*
			 *  Simple image gallery. Uses default settings
			 */

			$('.fancybox').fancybox();

			/*
			 *  Different effects
			 */

			// Change title type, overlay closing speed
			$(".fancybox-effects-a").fancybox({
				helpers: {
					title : {
						type : 'outside'
					},
					overlay : {
						speedOut : 0
					}
				}
			});

			// Disable opening and closing animations, change title type
			$(".fancybox-effects-b").fancybox({
				openEffect  : 'none',
				closeEffect	: 'none',

				helpers : {
					title : {
						type : 'over'
					}
				}
			});

			// Set custom style, close if clicked, change title type and overlay color
			$(".fancybox-effects-c").fancybox({
				wrapCSS    : 'fancybox-custom',
				closeClick : true,

				openEffect : 'none',

				helpers : {
					title : {
						type : 'inside'
					},
					overlay : {
						css : {
							'background' : 'rgba(238,238,238,0.85)'
						}
					}
				}
			});

			// Remove padding, set opening and closing animations, close if clicked and disable overlay
			$(".fancybox-effects-d").fancybox({
				padding: 0,

				openEffect : 'elastic',
				openSpeed  : 150,

				closeEffect : 'elastic',
				closeSpeed  : 150,

				closeClick : true,

				helpers : {
					overlay : null
				}
			});

			/*
			 *  Button helper. Disable animations, hide close button, change title type and content
			 */

			$('.fancybox-buttons').fancybox({
				openEffect  : 'none',
				closeEffect : 'none',

				prevEffect : 'none',
				nextEffect : 'none',

				closeBtn  : false,

				helpers : {
					title : {
						type : 'inside'
					},
					buttons	: {}
				},

				afterLoad : function() {
					this.title = 'Image ' + (this.index + 1) + ' of ' + this.group.length + (this.title ? ' - ' + this.title : '');
				}
			});


			/*
			 *  Thumbnail helper. Disable animations, hide close button, arrows and slide to next gallery item if clicked
			 */

			$('.fancybox-thumbs').fancybox({
				prevEffect : 'none',
				nextEffect : 'none',

				closeBtn  : false,
				arrows    : false,
				nextClick : true,

				helpers : {
					thumbs : {
						width  : 50,
						height : 50
					}
				}
			});

			/*
			 *  Media helper. Group items, disable animations, hide arrows, enable media and button helpers.
			*/
			$('.fancybox-media')
				.attr('rel', 'media-gallery')
				.fancybox({
					openEffect : 'none',
					closeEffect : 'none',
					prevEffect : 'none',
					nextEffect : 'none',

					arrows : false,
					helpers : {
						media : {},
						buttons : {}
					}
				});

			/*
			 *  Open manually
			 */

			$("#fancybox-manual-a").click(function() {
				$.fancybox.open('1_b.jpg');
			});

			$("#fancybox-manual-b").click(function() {
				$.fancybox.open({
					href : 'iframe.html',
					type : 'iframe',
					padding : 5
				});
			});

			$("#fancybox-manual-c").click(function() {
				$.fancybox.open([
					{
						href : '1_b.jpg',
						title : 'My title'
					}, {
						href : '2_b.jpg',
						title : '2nd title'
					}, {
						href : '3_b.jpg'
					}
				], {
					helpers : {
						thumbs : {
							width: 75,
							height: 50
						}
					}
				});
			});


		});
		

		
		
$(document).ready(function(){
  $('.bars').click(function(){
    $('#nav').toggleClass('open');
    $('.container').toggleClass('menu-open');
  });
});
		
	</script>
	<style type="text/css">
		.fancybox-custom .fancybox-skin {
			box-shadow: 0 0 50px #222;
		}

	</style>
	</head>
      
      <div id="wrapper" align="center">
<body>
<div>
<a href="index.html"><img src="http://lorempixel.com/output/nature-q-c-150-150-4.jpg" class="logo"></a>
  
<header class="clearfix">
		<div class="container">
			<div class="header">
				<label for="open">
					<span class="hidden-desktop"></span>
				</label>
				<input type="checkbox" name="" id="open">
				<nav>
					<a href="#">Print Ads</a>
					<a href="#">Web Ads</a>
					<a href="#">Collateral</a>
            <a hrer="#">Promotional</a>
				</nav>
			</div>
		</div>
	</header>

	</br>
      
            
<div class="one"><a class="fancybox" href="http://lorempixel.com/output/food-q-c-250-250-3.jpg" data-fancybox-group="fancybox-effects-b" title="Lorem ipsum dolor sit amet">
<img src="http://lorempixel.com/output/food-q-c-250-250-3.jpg" class="opacity" alt="" /></a></div>


<div class="two"><a class="fancybox" href="http://lorempixel.com/output/food-q-c-250-250-3.jpg" data-fancybox-group="fancybox-effects-b" title="Cras neque mi, semper leon">
<img src="http://lorempixel.com/output/food-q-c-250-250-3.jpg" class="opacity" alt="" /></a></div>


<div class="three"><a class="fancybox" href="http://lorempixel.com/output/food-q-c-250-250-3.jpg" data-fancybox-group="fancybox-effects-b" title="Etiam quis mi eu elit temp">
<img src="http://lorempixel.com/output/food-q-c-250-250-3.jpg" class="opacity" alt="" /></a></div>


<div class="four"><a class="fancybox" href="http://lorempixel.com/output/food-q-c-250-250-3.jpg" data-fancybox-group="fancybox-effects-b" title="Sed vel sapien vel sem uno">
<img src="http://lorempixel.com/output/food-q-c-250-250-3.jpg" class="opacity" alt="" /></a></div>

  <div class="five"><a class="fancybox" href="http://lorempixel.com/output/food-q-c-250-250-3.jpg" data-fancybox-group="fancybox-effects-b" title="Etiam quis mi eu elit temp">
<img src="http://lorempixel.com/output/food-q-c-250-250-3.jpg" class="opacity" alt="" /></a></div>
  
  <div class="six"><a class="fancybox" href="http://lorempixel.com/output/food-q-c-250-250-3.jpg" data-fancybox-group="fancybox-effects-b" title="Etiam quis mi eu elit temp">
<img src="http://lorempixel.com/output/food-q-c-250-250-3.jpg" class="opacity" alt="" /></a></div>
  
      </div>
<footer>

</footer>
          </div>         
        </body>
    </html>
              
            
!

CSS

              
                /* https://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}



/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}

ol, ul {
	list-style: none;
}

/* Main Page Wrap */

.wrapper {
  position: absolute;
  margin: 0px auto;
  max-width: 800px;
}


/* PORTFOLIO PIECES */

.one {
    display: inline-block;
}

.two {
    display: inline-block;

}

.three {
    display: inline-block;

}

.four {
    display: inline-block;
}

.five {
    display: inline-block;
}

.six {
    display: inline-block;
}

img.opacity {
	width: 150px;
	height: 150px;
	opacity: 0.3;
	filter: alpha(opacity=100);
	-moz-border-radius: 0px; -webkit-border-radius: 0px; border-radius: 0px;
	}	
 
img.opacity:hover {
	opacity: 1;
	filter: alpha(opacity=50);
	}


/*LOGO*/

.logo {
  display: inline-block;
  margin: 20px auto;
  height: 150px;

}

body {
  color: #222;
  font-family: Gotham, Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

/* FOOTER */

footer { 
  display: block;
  position: relative;
  margin: 20px auto; /* negative value of footer height */
  height: 25px;
  max-width: 800px;
  width: 100%;
}

.inner-footer {
  max-width:800px;
  margin:0 auto;
  padding: 10px;
  height:inherit;
}



/* NAVIGATION CSS*/


*{
  margin: 0;
	padding: 0;
	outline: none;
	border: none;
	-webkit-box-sizing: border-box;
}
*:before,
*:after{
	-webkit-box-sizing: border-box;
}
.clearfix {
  *zoom: 1;
}
html{
	font-family: Helvetica, arial, sans-serif;
	font-size: 12px;
}
body{
	background: url('brushed_alu.png');
}
.clearfix:before,
.clearfix:after {
  display: table;
  line-height: 0;
  content: "";
}
.clearfix:after {
  clear: both;
}

/*Container inside Nav Bar for Nav Text Links*/
.container{
	width: 120%;
	margin: 0 auto;
}

/* Responsive Menu Bar*/
header{
	width: 80%;
	min-width: 300px;
	height: 40px;
	background: #3a3a3c;
	position: relative;
	color: white;
	float: center;
}

/* Responsive Menu Icon Position*/
.header label{
	position: relative;
	top: px;
	right: 0;
	cursor: pointer;
}

/* Responsive Menu Icon*/
.header span{
	position: relative;
	width: 2em;
	height: 2em;
	background: rgba(255,255,255,.3);
	-webkit-transition: all .3s ease;
}
.header span:hover{
	background: rgba(255,255,255,.6);
}

/* Top Bar in Responsive Menu Icon*/
.header span:before,
.header span:after{
	content: '';
	position: absolute;
	width: 2em;
	height: .5em;
	top: 2px;
	left: 0;
	background: #3a3a3c;
}

/* Bottom Bar in Responsive Menu Icon*/

.header span:after{
	top: 15px;
}
/* Responsive Menu Icon End Of Code*/


#open{
	display: none;
}

a{
	text-decoration: none;
	color: white;
}

/* Responsive Nav Bar Text Links*/
nav>a{
	position: relative;
	display: inline-block;
	font-size: 13px;
	line-height: 40px;
	padding: 0 1em;
	-webkit-transition: all .3s ease;
}
nav>a:hover{
	background: rgba(255,255,255,.9);
	color: black;
}

nav ul li ul { display:none;
		position: absolute;
		left:  0;
		top:  100%;
		width:  100%;
		z-index: 2000;
		}

nav ul li:hover  ul  { /* Displayes the dropNav when Hovered over the nav item with the .drop class */
	z-index:99999;
	display:list-item !important;
	position:absolute;
	margin-top:5px;
	margin-left:-10px;
	}
	
nav ul li a{
	color:#FFF;
	font-size:13px;
	text-decoration:none;
}

.hidden-desktop{
	display: none;
}

/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) {
	.box{
		width: 49%;
		margin-bottom: 5%;
	}

	ul li:nth-child(3) .box{
		clear: both;
	}

	ul li:nth-child(2n) .box{
		margin-right: 0;
		clear: right;
	}
}

/* Small monitor */
@media (max-width: 979px){
	nav>a{
		padding: 0 1em;
	}
	.section-left,
	.section-right{
		width: 100%;
	}
	.section-left{
		text-align: center;
	}
	.section-right{
		padding: 0 0 2em;
	}
	.section-title{
		font-size: 4em;
		margin-bottom: .2em;
	}
	.section-tagline{
		font-size: 1.3em;
	}
	.learn-more{
		margin: 0 auto;
	}
}
 
/* Landscape phone to portrait tablet */
@media (max-width: 767px) {
	.container{
		width: 95%;
	}
	nav>a{
		padding: 0 1em;
	}
	h1{
		padding: .5em 0;
	}
	.header{
		width: 100%;
		text-align: center;
	}
	.section-left,
	.section-right{
		width: 100%;
	}
	.section-left{
		text-align: center;
		padding: 2em 0;
	}
	.section-right{
		padding: 1em 0 2em;
	}
	.section-title{
		font-size: 3em;
		margin-bottom: .2em;
	}
	.section-tagline{
		font-size: 1.3em;
	}
	.learn-more{
		margin: 0 auto;
	}
}
 
/* Landscape phones and down */
@media (max-width: 480px) {
	body{
		padding: 0 .5em;
	}
	.container{
		width: 90%;
	}
	nav{
		height: 0;
		overflow: hidden;
		-webkit-transition: all .3s ease;
	}
	input[type="checkbox"]:checked + nav{
		height: 123px;
	}
	nav>a{
		padding: 0 1em;
		display: block;
		border-bottom: solid 1px rgba(255,255,255,.1);
	}
	h1{
		padding: .5em 0;
	}
	.header{
		width: 100%;
		text-align: center;
	}
	.section-left,
	.section-right{
		width: 100%;
	}
	.section-left{
		text-align: center;
		padding: 1em 0;
	}
	.section-right{
		text-align: center;
		padding: 1em 0 2em;
	}
	.section-title{
		font-size: 2.4em;
		margin-bottom: 0;
	}
	.section-tagline{
		font-size: 1em;
	}
	.learn-more{
		display: table;
		margin: 0 auto;
	}
	.hidden-desktop{
		display: block;
	}
}
              
            
!

JS

              
                
              
            
!
999px

Console