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

              
                <meta name="viewport" content="width=device-width, initial-scale=1.0">

<div id="wrap">
	<div class="container" id="margin">
		<div id="div1">
		</div>
		<div>
			<img class="img" src="https://encrypted-tbn3.gstatic.com/images?q=tbn:ANd9GcQSXbAPjvTfcr9ge8uzA6gMOzw0TkJz2ixXun6BUOXnrVmZaIk2Bi4-UccK8g" alt="">
			<h3> Lorem</h3>
			<p> Ipusm. Phasellus non turpis a eros suscipit sagittis eu nec purus. Ut a bibendum lacus. Quisque tincidunt a libero non faucibus. Sed augue ipsum, pharetra at laoreet in, ornare mattis magna. Mauris eget urna magna. Nulla mollis, lorem nec pulvinar
				posuere. </p>
		</div>
	</div>
</div>
<div id="wrap">
	<div class="container" id="margin">
		<div id="div2">

			<h2> About me</h2>
		</div>
	</div>

	<div class="container" id="margin">
		<div id="div3">
			<div class="flex-table">
				 <a href="https://www.facebook.com" target="_blank"><img class="portfolio-image" src="https://tinyurl.com/hakvs4d"/>
				</a>
			</div>
			<div class="flex-table">
				<a href="https://www.twitter.com" target="_blank"><img class="portfolio-image" src="https://tinyurl.com/hakvs4d" /></a>
			</div>
			<div class="flex-table">
				<a href="https://www.linkedin.com" target="_blank"><img class="portfolio-image" src="https://tinyurl.com/hakvs4d" />
				</a>
			</div>
			<div class="flex-table">
				<a href="https://www.pintrest.com" target="_blank"><img class="portfolio-image" src="https://tinyurl.com/hakvs4d"/>
				</a>
			</div>
			<h2> Portfolio</h2>
		</div>
	</div>

	<div class="container" id="margin">
		<div id="div4">
			<div class="flex-table">
				<form action="/action_page.php">
					<label for="fname"></label>
					 <input type="text" id="fname" name="firstname" placeholder="Your name..">
					
					 <label for="lname"></label>
    <input type="text" id="lname" name="lastname" placeholder="Your last name..">
					
					<label for="email"></label>
    <textarea id="subject" name="subject" placeholder="Email Address"></textarea>
					
					<label for="subject"></label>
    <textarea id="subject" name="subject" placeholder="Write something.."></textarea>

    <input type="submit" value="Submit">

  </form>
</div>
			<h2> Contact me</h2>
		</div>
	</div>
	<div class="box">
		<div class="wrapper">
		</div>
	</div>
              
            
!

CSS

              
                body {
	background-color: #F1FFFA;
	background-image: url("http://media02.hongkiat.com/realistic-finger-paint-by-zaria-forman/maldives-02.jpg");
	background-size: 100% 26%;
	background-repeat: no-repeat;
	background-position: left top;
}

.box {
	background-color: #8FBCC5;
	margin-top: 50px;
	padding: 5% 20px;
	box-shadow: 0px 10px 5px #888888;
	-webkit-transform: skewY(-10deg);
	-moz-transform: skewY(-10deg);
	-ms-transform: skewY(-10deg);
	-o-transform: skewY(-10deg);
	transform: skewY(-10deg);
}

.box > .wrapper {
	-webkit-transform: skewY(10deg);
	-moz-transform: skewY(10deg);
	-ms-transform: skewY(10deg);
	-o-transform: skewY(10deg);
	transform: skewY(10deg);
}

#wrap {
	width: 960px;
	margin: 0 auto;
}

.container {
	display: flex;
	position: relative;
	max-width: 1600px;
	padding: 15px;
	height: 275px;
	overflow: visible;
	background-color: #84B6C0;
	box-shadow: 0px 10px 5px #888888;
	font-family: 'Open Sans';
}

#margin {
	margin: 1cm 1.5cm 1cm 1cm;
}

.img {
	position: aboslute;
	margin-left: -45px;
	margin-top: -15px;
	margin-right: 25px;
	width: 300px;
	border-radius: 85%;
	z-index: -1;
	float: left;
}

.portfolio-image {
	margin: auto;
	height: 100%;
	width: 100%;
	max-height: 100%;
}

h2 {
	position: absolute;
	display: inline-block;
	left: -40px;
	top: 22.5%;
	transform: translateX(-50%) rotate(-90deg);
	font-size: 45px;
	color: #e6e6e6;
	font-weight: 700;
	font-family: 'Source Serif Pro', serif;
	font-size: 65px;
}

#div1 {
	text-align: center;
}

#div2 {}

#div3 {
	padding: 0;
	margin: 0;
	list-style: none;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-flow: row;
	justify-content: space-around;
	width: 100%;
}

.flex-table {
	background: tomato;
	margin: 5px;
	color: white;
	font-weight: bold;
	font-size: 1.5em;
	text-align: center;
	height: auto;
	flex-grow: 1;
}

#div4 {
	padding: 0;
	margin: 0;
	list-style: none;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-flow: row;
	justify-content: space-around;
	width: 100%;
}

.flex-table {
	background: #84B6C0;
	margin: 5px;
	color: white;
	font-weight: bold;
	font-size: 1.5em;
	text-align: center;
	height: auto;
	flex-grow: 1;
}

input[type=text], select, textarea {
    width: 100%; /* Full width */
    padding: 5px; /* Some padding */  
    border: 1px solid #ccc; /* Gray border */
    border-radius: 4px; /* Rounded borders */
    box-sizing: border-box; /* Make sure that padding and width stays in place */
    margin-top: 2px; /* Add a top margin */
    margin-bottom: 12px; /* Bottom margin */
}

/* Style the submit button with a specific background color etc */
input[type=submit] {
    background-color: #61858C;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* When moving the mouse over the submit button, add a darker green color */
input[type=submit]:hover {
    background-color: #6D959E;
}

.socialMedia {
	color: #FBB02D;
	style: bold;
	font-size: 1.15em;
}
              
            
!

JS

              
                /*
$(document).ready(function(){
	$(".porftolio-image").on("click",function() {});
	window.location.href="www.facebook.com";
	return false;
});
*/
              
            
!
999px

Console