octocatstartv

xIAgL

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">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <title></title>
        <meta name="description" content="">
        <meta name="viewport" content="width=device-width">
        <link rel="stylesheet" href="stylesheets/universalStyle.css">
    </head>
    <body>
	
		<div class="wrapper">
			<header class="header">
				<nav id="headernav">
					<a href="cool.html" id="cool">COOL</a>
					<a href="fail.html" id="fail">FAIL</a>
					<a href="parody.html" id="parody">PARODY</a>
					<a href="pranks.html" id="pranks">PRANKS</a>
					<a href="comedy.html" id="comedy">COMEDY</a>
				</nav>
				<a href="/">
					<img src="images/logo.png" alt="" id="logo">
				</a>
			</header>
			<!-- END .header -->
      
      
      <div class="latin">
        <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
        <p>Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?</p>
        
      </div>
			<footer class="footer">
				<div class="one">
					<p>We can let you know when new videos have been added on the website. Simply enter your email in the field bellow.</p>
					<form>
						<input name="email" id="email" type="text" value="Email">
						<p>How often do you want to receive notifications?</p>
						<input type="radio" name="daily" value="daily">Daily
						<input type="radio" name="weekly" value="weekly">Weekly
						<input type="radio" name="monthly" value="monthly">Monthly
						<input type="submit" value="Submit">
					</form>
				</div>
				<!-- END .one -->
				<div class="two">
					<h2>Contact Us</h2>
					<a href="#"><img id="twitter" src="images/twitter.png" alt=""></a>
					<a href="#"><img id="fb" src="images/fb.png" alt=""></a>
					<a href="#"><img id="google" src="images/google.png" alt=""></a>
				</div>
				<!-- END .two -->
				<div class="three">
					<nav id="footernav">
						<a href="#">Advertise<br></a>
						<a href="#">Send us a Video<br></a>
						<a href="#">Feedback<br></a>
						<a href="#">What We Do<br></a>
						<a href="#">Meet the Team<br></a>
						<a href="#">&#0169; 2012 All Rights Reserved</a>
					</nav>
				</div>
				<!-- END .three -->
			</footer>
		</div>
		<!-- END .wrapper -->
    </body>
</html>
            
          
!
            
              * {
 margin:0;
 padding:0;
}
html {
 font-size:16px;
 font-family: Arial, Verdana, san-serif;
}

.wrapper {
 display:block;
  width:980px;
  margin:0 auto;
}

.header {
 display:block;
  width:100%;
  height:80px;
  background:blue;
  text-align:center;
  padding-top:22px;
}

.header nav a {
 border-right:solid 1px black;
  padding:0 15px;
}

nav a:link {
 text-decoration:none;
 color:white;
}
nav a:hover {
 color:red; 
}
nav a:visited {
 color:white; 
}
#logo {
  margin-top:15px;
}

.latin {
  display:block;
  padding:20px;
}
.latin p {
 margin-bottom:1.2em; 
}

.footer {
  display:block;
  position:relative;
  margin-bottom:40px;
  width:100%;
  height:300px;
  background:blue;
  color:white;
}
.one,
.two,
.three {
  position:relative;
  display:block;
  float:left;
  margin:2.5%;
}
.one {
 width:45%; 
}
.two,
.three {
 width:20%; 
}
.one p,
.one input {
 margin-bottom:1.2em; 
}
.two h2,
.two a {
  margin-bottom:1.2em;
}
#footernav a {
  display:block;
 margin-bottom:0.6em; 
}
input#email {
  border:none;
 width:250px;
  padding:9px;
}

            
          
!
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