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

              
                <head>
	<meta charset="utf-8" />
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title>Free Code Camp Portfolio Challenge</title>
	<link rel="stylesheet" type="text/css" href="style.css" />
	<script src="https://use.typekit.net/zlr2ehf.js"></script>
	<script>try{Typekit.load({ async: true });}catch(e){}</script>
	<link href="https://fonts.googleapis.com/css?family=Abril+Fatface|Karla" rel="stylesheet">
</head>

<body>

	<header>
		<div id="header-inner">
			<a href="index.html" id="logo"><img src="http://ericcomstock.com/wp-content/uploads/2016/11/look.png"></a>
			<nav>
					<ul>
						<li><a href="#about">hello</a></li>
						<li><a href="#hello">portfolio</a></li>
						<li><a href="#mac">contact</a></li>
					</ul>
			</nav>
		</div>
	</header>

	<section>
		<div class="banner">
			<img src="http://ericcomstock.com/wp-content/uploads/2016/11/banner.png">
		</div>
	</section>

	<section>
        <div class="forty">
            <div class="starburst">
                <img src="http://ericcomstock.com/wp-content/uploads/2016/11/starburst.png">
            </div>
        </div>
        <div class="sixty">
            <h1>
                Designer
                <br>
                Illustrator
                <br>
                Story Teller
            </h1>
        </div>
            
		<div id="about">
			<p>
				LOOK is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to.
			</p>
			<br>
			<p>
				Make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using ‘Content here, content here’.
			</p>
		</div>
	</section>

	<div class="folio">
        <h2>Portfolio</h2>
        <div id="hello">
            <img src="http://ericcomstock.com/wp-content/uploads/2016/11/hello.png">
        </div>
    </div>
    
    <div id="empty">
        
    </div>    
			
    <div class="images">			
        <div class="flags">
            <img src="http://ericcomstock.com/wp-content/uploads/2016/11/flag.png">
        </div>
        <div class="happy">
            <img src="http://ericcomstock.com/wp-content/uploads/2016/11/bigeye.png">
        </div>
        <div class="foureyes">
            <img src="http://ericcomstock.com/wp-content/uploads/2016/11/foureyes.png">
        </div>
    </div>

    <div class="footer">
        <div id="mac">
            <img src="http://ericcomstock.com/wp-content/uploads/2016/11/mac.png">
        </div>
        <p class="contact_me">
            Please feel free to contact me anytime.
        <br>
            You can reach me at triangleman@shape.com
        </p>
    </div>			

</body>

              
            
!

CSS

              
                * {
  margin: 0 auto;
  padding: 0;
  border: 0;
}

body {
  display: grid;
  grid-template-columns: 1fr repeat(6, minmax(auto, 10em)) 1fr;
  max-width: 1170px;
  margin: 0 auto;
}

#logo {
  padding: 50px;
  float: left;
}

ul {
  list-style-type: none;
}

nav {
    float: right;
    padding: 70px 50px 0 0;
}

nav ul li {
  font-family: "mr-eaves-modern",sans-serif;
  font-weight: 300;
  font-size: 150%;
  display: inline-block;
  float: left;
  padding: 20px;
  letter-spacing: .3em;
}

nav ul li a {
  color: #001D8D;
  text-decoration: none;
}

nav ul li a:hover {
  color: #FF6A2B;
  text-decoration: none;
}

.banner {
  max-width: 1170px;
  margin: 0 auto;
}

.forty {
  width: 40%;
  float: left;
}

.starburst {
  padding: 83px 0 0 80px;
}

.sixty {
  width: 60%;
  float: left;
}

h1 {
  font-family: "bodoni-urw";
  font-size: 100px;
  font-style: italic;
  line-height: 95px;
  font-weight: 700;
  text-align: left;
  color: #001D8D;
  padding: 81px 114px 81px 0px;
}

#about {
  clear: both;
  background-color: #FFCADC;
  padding: 80px;
}

p {
  font-family: "mr-eaves-modern",sans-serif;
  font-weight: 400;
  font-size: 155%;
  color: #001D8D;
  line-height: 1.5em;
  text-align: justify;
}

.folio {
    margin: inherit;
    padding: 20px 50px 75px 50px;    
}

h2 {
  font-family: "bodoni-urw";
  font-size: 75px;
  font-style: italic;
  line-height: 139px;
  font-weight: 700;
  float: left;
  text-align: left;
  color: #001D8D;
}

#hello {
   float: right;
}

#empty {
    clear: both;
}

.images {
    max-width: 1150px;
    margin: 0 auto;
}

.flags {
    float: left;
    margin-right: 20px;
    margin-bottom: 17px;
}

.happy {
    float: right;
    margin-bottom: 17px;
}

.foureyes {
    float: left;
    margin-bottom: 17px;
}

.footer {
    clear: both;
}

#mac {
  float: left;
  padding:65px;
}

p.contact_me {
  float: right;
  font-size: 230%;
  text-align: center;
  color: white;
}

.contact_me {
  background-color: #FF6A2B;
  padding: 30px 115px;
  margin: 70px 55px 65px 0;
  border-radius: 150px;
}

              
            
!

JS

              
                
              
            
!
999px

Console