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 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

              
                <head>
	<link rel="stylesheet" href="http://coletownsend.com/web/content/fonts/Entypo/Entypo/entypo.css" media="all">
	
<link href='https://fonts.googleapis.com/css?family=Lato:300,400,700' rel='stylesheet' type='text/css'>



	
</head>

<div id="wrapper">
  <div id="container">
    <div class="info">
      <div class="name"><a href="http://coletownsend.com">Cole Townsend</a></div>
			<div class="location"><a href="https://tiles.mapbox.com/coletownsend/map/map-5wprk9jh"><span class="pin">&#59172;</span> Buffalo</a></div>
		</div>	
		<div class="menu">
				<ul>
          <li><a href="#">&#128222;</a></li>
          <li><a href="https://twitter.com/ctrunsthis" target="_blank">&#59168;</a></li>
          <li><a href="mailto:cole@coletownsend.com" target="_blank">&#9993;</a></li>
          <li><a href="https://twitter.com/ctrunsthis">&#127748;</a></li>
          <li class="add"><a href="#">&#59136;</a></li>
				</ul>
		</div>
		<div class="profile">
     <img src="https://f.cl.ly/items/0z1w0L092q070Q180K3p/36a9325cb67f11e18bb812313804a181_7.jpeg" target="_blank">
    </div>
  </div>
	<div class="credit">
		<p>Design by <a href="http://coletownsend.com"  target="_blank">Cole Townsend.</a></p>
		<p>Icons by <a href="http://www.entypo.com"  target="_blank">Daniel Bruce.</a></p>
	</div>
</div>
              
            
!

CSS

              
                /* Normalize */
article,aside,details,figcaption,figure,footer,header,hgroup,nav,section,summary{display:block;}audio,canvas,video{display:inline-block;}audio:not([controls]){display:none;height:0;}[hidden]{display:none;}html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;}a:focus{outline:thin dotted;}a:active,a:hover{outline:0;}h1{font-size:2em;}abbr[title]{border-bottom:1px dotted;}b,strong{font-weight:700;}dfn{font-style:italic;}mark{color:#000;background:#ff0;}code,kbd,pre,samp{font-family:monospace, serif;font-size:1em;}pre{white-space:pre-wrap;word-wrap:break-word;}q{quotes:\201C \201D \2018 \2019;}small{font-size:80%;}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline;}sup{top:-.5em;}sub{bottom:-.25em;}img{border:0;}svg:not(:root){overflow:hidden;}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em;}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0;}button,input{line-height:normal;}button,html input[type=button],/* 1 */ input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer;}button[disabled],html
/* Normalize End */


body {
 width: 100%;
	height: 100%;
	overflow: hidden;
	-webkit-font-smoothing: antialiased;
  font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
	background: #c4c4c4;
}
	
a {
	text-decoration: none;
}

#container {
  display: block;
	margin: 100px auto;
  width: 400px;
  height: 330px;
  background: #f5f5f5;
	border-radius: 5px;
	box-shadow: 0 2px 10px 2px rgba(0,0,0,.3);
}

/* Info */
.info {
	position: absolute;
	z-index: 200;
	color: #ffffff;
	font-family: 'Lato','Open Sans';
	font-weight: 700;
	top: 380px;
	display: block;
	text-align: center;
	margin-left: 180px;
	text-shadow: 0px 1px 1px rgba(0,0,0,0.7); 
}

.name {
	font-size: 19px;
	letter-spacing: 1px;
}

.name a {
  color: #fff;
}

.location {
	font-size: 14px;
	line-height: 22px;
	letter-spacing: 1px;
}

.location a {
	color: #ffffff;
}

.pin {
	font-family: 'Icons';
	font-size: 24px;
}

/* Menu */

.menu {
	width: 100px;
	height: 330px;
	position: absolute;
	z-index: 100;
	background: #222222;
	border-radius: 5px 0px 0 5px;
	font-family: 'Icons';
	font-size: 38px;
	text-align: center;
}

.menu ul {
	list-style-type: none;
	position: relative;
	display: block;
	top: -36px;
}

.menu ul li {
	display: block;
	width: 100px;
	position: relative;
	right: 40px;
	line-height: 65px;
	color: #d0ced1;
	-webkit-transition: all .3s ease;
  border-bottom: rgba(70,70,70,.2) 1px solid;
}

.menu li.add {
  line-height: 63px;
}

.add {
  border-radius: 0 0 0 5px;
  border: 0;
}

.menu ul li:hover {
	background: #191919;
	border-radius: 5px 0 0 5px;
	-webkit-transition: all .2s ease;
}

.menu a {
	border: 0;
  color: #d0ced1;
}

/* Icon Tweaks */



/* Profile Photo */

.profile {
	float: right;
	width: 300px;
	height: 330px;
}

.profile img {
	z-index: 1;
	width: auto;
	height: 100%;
	position: relative;
	right: 30px;
	border-radius: 0 5px 5px 0;
}

.credit {
	color: #444444;
	font-family: "Lato";
	font-weight: 400;
	font-size: 12px;
	text-align: center;
	
}

.credit a {
	color: #666666;
}
              
            
!

JS

              
                
              
            
!
999px

Console