123

Pen Settings

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <link href='https://fonts.googleapis.com/css?family=Oswald' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.1/css/font-awesome.min.css">

<header>
  <div class="container">
    <div class="iPad">
      <img class="main" src="https://dl.dropboxusercontent.com/s/ruaap0p9upyftp2/ipad_screen2.jpg?dl=0" />

      <h1 class="name">
          Paul Irish
          <span><img class="chrome" src="https://upload.wikimedia.org/wikipedia/commons/thumb/e/e2/Google_Chrome_icon_(2011).svg/2000px-Google_Chrome_icon_(2011).svg.png"> Google Web Developer</span>
      </h1>

    </div>
  </div>
  <div class="container">
    <div class="jumbotron">
      <div clas="body">
        <h2><i class="fa fa-info-circle"></i> About</h2>
        <hr>
        <p>Paul Irish is an American front-end engineer and a developer advocate for Google Chrome, the most popular web browser in the world by market share. He is widely recognized as a thought leader and a leading evangelist in web technologies, including
          JavaScript and CSS. In 2014, he was named Developer of the Year by The Net Awards for his contributions to the web development landscape and his participation in many of the most popular open source projects.

          <h2><i class="fa fa-code" aria-hidden="true"></i> Front-end development</h2>
          <hr>
          <div class="list">
            <ul>
              <li><a href="https://isobar-idev.github.io/code-standards/">Front-end Code Standards:</a> A list of best practices for front-end developers</li>
              <li><a href="http://www.robohornet.org/">RoboHornet:</a> A benchmarking tool for web browsers.</li>
              <li><a href="https://github.com/twitter/bower">Bower:</a> A package manager for web developers.</li>
              <li><a href="https://en.wikipedia.org/wiki/Modernizr">Modernizr:</a> A feature detection library for HTML5 and CSS3 features.</li>
              <li><a href="https://en.wikipedia.org/wiki/Yeoman_(computing)">Yeoman:</a> A suite of tools for a web development workflow</li>
              <li><a href="http://html5boilerplate.com/">HTML5 Boilerplate:</a> A template for HTML5 and CSS3 front-end development.</li>
              <li><a href="https://en.wikipedia.org/wiki/JQuery" </a>jQuery:</a> A JavaScript library that abstracts DOM manipulation and traversal, animation, event handling, and other common JavaScript tasks.</a>
              </li>
          </div>
          <h2><i class="fa fa-external-link"></i> More Information</h2>
          <hr>
          <p>For more information on Paul Irish, <a href="https://en.wikipedia.org/wiki/Paul_Irish">click here!</a></p>
      </div>
    </div>
    <div class="footer">Project designed and coded by Sean McDonald | <a href="https://codepen.io/bewsii/"><i class="fa fa-codepen"></i> codePen.io</a>
    </div>
  </div>
            
          
!
            
              
.container {
  max-width: 1200px;
  width: 100%;
  margin: auto;
  padding: 0 20px;
}

body {
  font-family: 'Oswald', sans-serif;
  font-size: 100%;
}
a {
  color: blue;
}
a:hover {
  color: red;
  text-decoration: none;
}
.iPad {
  margin-top: 60px;
  border-radius: 25px;
  border: 4px solid gray;
  box-shadow: 10px 10px 10px #000;
  background-color: #000;
  position: relative;
}

.name .chrome {
  width: 0px;
  height: 0px;
}
.name span {
  font-size: 8px;
  display: block; 
}
.name {
  font-size: 20px;
  line-height: 0.8em;
  position: absolute;
  margin: 0;
  top: 30px;
  left: 20px;
  text-transform: uppercase;
  color: #FFF;
  text-align: center;
}
@media screen and (min-width: 320px) {
  .name {
    font-size: 25px;
    top: 40px;
    left: 25px;
  }
  .name span {
    font-size: 8px;
  }
  .name .chrome {
    margin-bottom: 5px;
  }
}
@media screen and (min-width: 480px) {
  .name {
    font-size: 35px;
    top: 60px;
    left: 40px;
  }
  .name span {
    font-size: 15px;
  }
  .name .chrome {
    width: 10px;
    height: 10px;
    margin-bottom: 3px;
  }
}
@media screen and (min-width: 640px) {
  .name {
    font-size: 55px;
    top: 80px;
    left: 50px;
  }
  .name span {
    font-size: 20px;
  }
  .name .chrome {
    width: 20px;
    height: 20px;
    margin-bottom: 3px;
  }
}
@media screen and (min-width: 768px) {
  .name {
    font-size: 70px;
    top: 90px;
    left: 55px;
  }
  .name span {
    font-size: 25px;
  }
  .name .chrome {
    width: 30px;
    height: 30px;
    margin-bottom: 10px;
  }
}
@media screen and (min-width: 992px) {
  .name {
    font-size: 100px;
    top: 120px;
    left: 75px;
  }
  .name span {
    font-size: 40px;
  }
  .name .chrome {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
  }
}
@media screen and (min-width: 1200px) {
  .name {
    font-size: 110px;
    top: 150px;
    left: 95px;
  }
  .name span {
    font-size: 45px;
  }
  .name .chrome {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
  }
} 

.main {
  position: relative;
  width: 100%;
  padding-top: 4%;
  padding-bottom: 4%;
  padding-right: 7%;
  padding-left: 7%;
}

.jumbotron {
  margin-top: 20px;
}
hr {
  width: 100%;
  height: 2px;
  background-image: -webkit-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
  background-image: -moz-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
  background-image: -ms-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
  background-image: -o-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0); 
}
.list {
  font-size: 170%;
}
.footer {
  font-size: 16px;
  text-align: center;
  margin-bottom: 20px;
}
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.

Console