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. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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

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

              
                <html lang="en">

<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<meta name="description" content="My journey to learning and developing front end web development and applications">
	<meta name="author" content="Steven	Wong">

	<title>3Weeks2Late</title>

	<link rel="stylesheet" type="text/css" href="CSS/3weeksLate.css">
	
	<!--Fonts-->
	<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
	<link href="https://fonts.googleapis.com/css?family=Poiret+One" rel="stylesheet">
	<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
	<!--Font Awesome Icons-->
	<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.min.css">

</head>

<!--Navbar-->
<body>
	<header>
		<ul class="nav-wrap">
			<li id="logo">Steven Wong</li>
			<nav>
				<li><a href="#banner" class="active">Home</a></li>
				<li><a href="#about">About</a></li>
				<li><a href="#portfolio">Portfolio</a></li>
				<li><a href="#contact">Contact</a></li>
			</nav>
		</ul>
	</header>

	<section id="banner">
		<div class="wrapper">
			<div class="banner-wrapper">
				<h1 id="title">Steven Wong</h1>
				<h2 id="sub-title">Coder, Designer, Coffee drinker</h2>
				<a href="https://www.facebook.com/Spokaroonie" class="round-button button-facebook"><i class="fa fa-facebook" aria-hidden="true"></i></a>
				<a href="https://twitter.com/Spokaroonie" class="round-button twitter"><i class="fa fa-twitter" aria-hidden="true"></i></a>
				<a href="https://github.com/Spokaroonie" class="round-button github"><i class="fa fa-github" aria-hidden="true"></i></a>
				<a href="https://codepen.io/Spokaroonie/" class="round-button codepen"><i class="fa fa-codepen" aria-hidden="true"></i></a>
			</div>
		</div>
	</section>
	
		<section id="about">
		<div class="inner-wrapper">
			<h2 class="catagory">About
				<img id="profile" src="https://www.dropbox.com/s/862t9v08lhd2qjn/Vector.jpg?raw=1" alt="profile" width="337px" height="478px"></h2
			<div class="content">
				<p>Hey! My name is Steven. I am an aspiring Front-End Web Developer.</p>
				<p>
				I graduated Portsmouth University with a BA in Animation. I felt that it was a career I didn't want to pursue, however I still wanted to remain creative in whatever I did.</p>
				<p>I have always enjoyed creating things, and it has also been a passion of mine. I believe this is the perfect platform to express that.</p>
			</div>
		</div>				
	</section>
	<section id="portfolio">
		<div class="wrapper">
		<h2 class="catagory" id="">Portfolio</h2>
			<div class="port-wrap">
				<div class="port-item">
					<a href="https://codepen.io/Spokaroonie/pen/vKEojj"><img src="https://www.dropbox.com/s/sf3g2alvyrpo4aa/Bowie.png?raw=1" alt="tribute" class="opacity"><!--300x270--></a>
				</div>
				<div class="port-item">
					<a href="#"><img src="https://www.dropbox.com/s/t2h00xxloatvrfh/Placeholder.png?raw=1" alt="placeholder" class="opacity"></a>
				</div>
				<div class="port-item">
					<a href="#"><img src="https://www.dropbox.com/s/t2h00xxloatvrfh/Placeholder.png?raw=1" alt="placeholder" class="opacity"></a>
				</div>
				<div class="port-item">
					<a href="#"><img src="https://www.dropbox.com/s/t2h00xxloatvrfh/Placeholder.png?raw=1" alt="placeholder" class="opacity"></a>
				</div>
			</div>
			<div id="port-padding"></div>
		</div>
	</section>

<section id="contact">
	<div class="inner-wrapper">
		<h2 class="catagory">Contact</h2>
		<div class="contact-wrapper">
			<form action="/my-handling-form-page" method="post" class="contact-form">
				<span class="span-half pull-left">
					<label>Name
						<input type="text" name="name" placeholder="Enter your name" required>
					</label>
				</span>
				<span class="span-half pull-right">
					<label>Message
						<textarea name="message" placeholder="What would you like to say?" required></textarea>
					</label>
				</span>
				<span class="span-half pull-left">
					<label>E-mail
						<input type="text" name="email" placeholder="Enter your email address" required>
					</label>
				</span>
				<button type="submit" class="button submit">Send</button>
			</form>
		</div>
	</section>
	<footer>
		<small>Coded with lots of Coffee &copy Steven Wong 2016</small>
		<div class="button-wrapper">
			<a href="https://www.facebook.com/Spokaroonie?viewas=100000686899395&privacy_source=timeline_gear_menu" class="round-button"><i class="fa fa-facebook" aria-hidden="true"></i></a>
			<a href="https://www.twitter.com/Spokaroonie" class="round-button"><i class="fa fa-twitter" aria-hidden="true"></i></a>
			<a href="https://github.com/Spokaroonie" class="round-button"><i class="fa fa-github" aria-hidden="true"></i></a>
			<a href="https://codepen.io/Spokaroonie/" class="round-button"><i class="fa fa-codepen" aria-hidden="true"></i></a>
		</div>
	</footer>
</body>
              
            
!

CSS

              
                
/*----------Global Styles----------*/

body {
	font-family: "robot", helvetivca, sans-serif;
	font-size: 1.25rem;
	line-height: 1.25;
	margin: 0 auto;
}

.wrapper {
	width: 100%;
	max-width: 90%;
	margin: 0 auto;
}

.inner-wrapper {
	margin: 6rem;
}


.catagory {
	text-align: left;
	font-size: 4rem;
	font-family: 'Poiret One';
	color: orange;
	margin-bottom: 5rem;
	margin-top: 0;
}

/*Social Media*/

.round-button {
	display: inline-block;
	vertical-align: middle;
	text-align: center;
	width: 70px;
	height: 70px;
	text-align: center;
	border-radius: 50%;
	color: #222;
	text-decoration: none;
	background: #fff;
	margin: 0 20px 0 20px;
	padding: 5px;
	font-size: 3.75rem;
	border: 3px solid #222;
	transition: background-color 1s, color 1s, font-size 1s, border-color .5s;
}
.round-button:hover {
	background-color: orange;
	color: #fff;
	font-size: 4rem;
	border-color: #fff;
	text-align: center;
}

/*----------Navbar----------*/

header {
	width: 100%;
	position: fixed;
	background-color: #222;
	z-index: 1;
	padding-top: 1rem;
}

header ul {
	padding: 0 5rem;
	margin: 0 auto;
	list-style: none;
}

#logo {
	float: left;
	color: #fff;
	font-weight:700;
	font-size: 2rem;
	margin: 0;
	font-family: 'Poiret One', cursive;
}

ul li {
	display: inline-block;
	overflow: hidden;
	list-style: none;
	text-decoration: none;
	padding: 0rem 0;
}

nav {
	float:right;
	text-align: center;
}

nav li a {
	color:white;
	font-weight:700;
	text-decoration: none;
	display: block;
	padding: 11px 16px;
	text-align: center;
	text-decoration:none;
}
.active {
	background-color: orange;
}
li a:hover {
	background-color: orange;
	color: #333;
}
/*----------Banner Styles----------*/

#banner {
	background-color: #222;
	width:100%;
	height: 100%;
	color: #fff;
}

.banner-wrapper {
	padding:14rem 0;
	text-align: center;
}

#title, #sub-title {
	text-align: center;
}

#title {
	font-size:7rem;
	margin:0 auto;
	padding: 0;
	font-family: 'Open Sans', sans-serif;
}

#sub-title {
	font-size: 2.5rem;
	color:orange;
	margin:0 auto;
	padding-bottom: 80px;
}

/*----------About Styles----------*/

#about {
	width: 100%;
	height: 100%;
	background-color: #fff;
	color: #222;
	display: flex;
}

#profile {
	float: right;
	display: inline-block;
	height: auto;
	width: 350px;
  margin:0 0 0 3rem;
  box-shadow: 3px 3px 3px #333;
	-webkit-box-shadow: 3px 3px 3px #333;
	-moz-box-shadow: 3px 3px 3px #333;
}

div .content {
	position: relative;
	display: block;
}

@media screen and (max-width: 768px) {
    /* For mobile phones:*/
    	div .content {
    		width: 100%;
    		float: left;
    		clear: both;
    	}
    	#profile {
    		float: left;
    		clear: left;
    	}
    }

/*----------Portfolio Styles----------*/

#portfolio {
	color: #fff;
	width: 100%;
	height: 100%;
	background-color: #222;
}

#portfolio .wrapper h2 {
	padding-top: 6rem;
}

.port-wrap {
	text-align: center;
	box-sizing: border-box;
	display: block;
}

.port-item {
	width: 300px;
	height: 270px;
	padding: 4px;
	background: #468499;
	font-weight: bold;
	text-align: center;
	margin: 0 10px 14px 10px;
	display:inline-block;
	border-radius: 2px;
	border: 1px solid;
	transition: border-color 1s, -moz-box-shadow 1s,-webkit-box-shadow 1s,box-shadow 1s;
	position: relative;
}
.port-item:hover {
	border-color: ;
	-moz-box-shadow: 0 0 5px #fff;	
	-webkit-box-shadow: 0 0 5px #fff;
	box-shadow: 0px 0px 10px #fff;}

.opacity {
	opacity: 0.5;
	-webkit-transition: opacity 1s;
    transition: opacity 1s;
}

.opacity:hover {
	opacity: 1;
}

#port-padding {
	width: 100%;
	height: 6rem;
	background-color: #222;
}

/*----------Contact Styles----------*/

.contact-wrapper {
	margin: 0 auto;
	box-sizing: border-box;
	width: 960px;
	height: 100%;
	color: #222;
	display: block;
}

.column {
	clear: none;
}

.span-half {
	max-width: 48%;
	display: block;
}

.pull-left {
	float: left;
}
.pull-right {
	float: right
}

.contact-form {
	padding: 0;
	margin: 0 auto;
}
.contact-form label {
	font-size: 1.5em;
}
.contact-form span {
	width: 100%;
	margin-bottom: 20px;
}
.contact-form input, .contact-form textarea, .contact-form select {
	width: 100%;
	border-color: 1px solid #cacaca;
	padding: 5px;
	outline: none;
}
.contact-form span, .contact-form label {
	display: block;
}
.contact-form textarea {
	margin-top:10px;
	height: 110px;

}

input:focus {
	border:solid 1px #cacaca;

}
textarea:focus {
	border:solid 1px #cacaca;
}

button, input {
	line-height: normal;
}
button, input, select, textarea {
	margin: 0;
	vertical-align: baseline;
}

.submit:hover {
	background-color: green;
}
.button {
	margin: 0 auto;
	padding: 0;
	text-align: center;
	clear: both;

	list-style: none;
	background-color: #6dc066;
	border:none;
	border-radius: 5px;
	color: #fff;
	margin:0 10px 0 0;
	padding: 10px;
	text-decoration: none;
	text-align: center;
	display: block;
	box-sizing: border-box;
	width: 200px;
}

@media screen and (max-width: 1000px) {
    /* For mobile phones:*/
    	.contact-form span {
    		width: 100%;
    		float: left;
    		clear: both;
    	}
    }

/*----------Footer Styles----------*/

footer {
	height: 100%;
	width: 100%;
	background-color: #222;
	text-align: center;
	font-size: 16px;
	font-family: arial;
	color: #fff;
	padding: 10px 0 10px 0;
}

footer .button-wrapper {
	margin: 20px;
}
              
            
!

JS

              
                
              
            
!
999px

Console