octocatstartv

lGBqe

A Pen By Captain Anonymous

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.

            
              <!DOCTYPE html>
<html>
<head>
	<meta charset='UTF-8' />
	<title>ini Budi Photography</title>
	<link rel='stylesheet' href='css/style.css' />
	
	<!-- [if IE]>
		<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
	<![endif]-->	
	<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
	<script src='js/example.js'></script>
</head>

<body>
	<div id="page-wrap">
		<header>
			<div id='logo' class='ontop'></div>
			<div class='bar'></div>
		</header>
		
		<div id='main-content'>
			<nav>
				<ul id='nav'>
					<li><a href='#'>About</a></li>
					<li><a href='#'>Gallery</a></li>
					<li><a href='#'>Package</a></li>
					<li><a href='#'>Contact</a></li>
					<li><a href='#'>Blog</a></li>
				</ul>
			</nav>
			<div class='bar-menu'></div>
			<div id='welcome'>
				<h1>Welcome To My Site</h1>
				<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec suscipit elit vitae urna viverra eget dictum mi malesuada. Nam nec urna nunc, non fermentum quam. Praesent vulputate odio at eros ultrices vehicula. Suspendisse vehicula risus non turpis congue in faucibus ipsum tempus. Proin nec odio ut leo vulputate molestie. Suspendisse euismod, mauris a porta malesuada, nulla sapien viverra massa, id malesuada felis magna ultrices arcu. Morbi rutrum bibendum elementum.</p>
			</div> <!-- END welcome -->
		</div> <!-- END main-content -->
		
	</div> <!-- END page-wrap -->

	<footer>
		<div id='copyright'>&copy; 2013 inibudi photography</div>
		<div id='createby'>Website designed by iniBudi</div>
	</footer>
</body>


</html>

            
          
!
            
              * { margin: 0; padding: 0; }

html { 
	background: url(http://img818.imageshack.us/img818/1323/bgcover.jpg) no-repeat center center fixed; 
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='.bgcover.jpg', sizingMethod='scale');
	-ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='bgcover.jpg', sizingMethod='scale')";
}

body {
	font: 12px/1.4 Trebuchet ms;
	}

/* article, aside, figure, footer, header, nav, section { display: block; } */

#page-wrap {
	width: 100%;
	margin: 0 auto 10px;
	}

header {
	padding: 0;
	}
	
#logo.ontop { 
	position: absolute; 
	top: 30px;
	left: 86px;
	background: url(http://img694.imageshack.us/img694/9016/logoopxh.png) no-repeat;
	width: 293px;
	height: 51px;
	z-index: 2;
	}	
	
.bar {
	position: relative;
	display: block; 
	width: 485px;
	height: 103px;
	filter: alpha(opacity=50);
	opacity: 0.5;
	background: #7b6319;
	margin-top: 0;
	z-index: 1;
	}

#main-content {
	float: left;
	width: 485px;
	margin: 10px 0 0 0;
}

#nav {
	width: 100%;
	float: left;
	margin: 0 0 0 0;
	padding: 0;
	list-style: none;
}
#nav li {
	display: block;
	float: left;
	}
	
#nav li a {
	width: 20%;
	padding: 25px 10px 15px 10px;
	margin-left: 19px;
	text-decoration: none;
	font-family: Trebuchet MS;
	font-size: 14px;
	text-transform: uppercase;
	font-weight: normal;
	color: white;
	background-color: #1cbbb4;
	filter: alpha(opacity=50);
	opacity: 0.5;
}

#nav li a:hover {
	width: 20%;
	padding: 25px 10px 15px 10px;
	margin-left: 19px;
	text-decoration: none;
	font-family: Trebuchet MS;
	font-size: 14px;
	text-transform: uppercase;
	font-weight: normal;
	color: white;
	background-color: #1cbbb4;
	filter: alpha(opacity=100);
	opacity: 1;
	}

            
          
!
999px
Close

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.

Go PRO

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

Console