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.

            
              <!DOCTYPE html>
<html>

<head>
  <link href='https://fonts.googleapis.com/css?family=Lato' rel='stylesheet' type='text/css'>
  <link rel="stylesheet" type="text/css" href="style.css">
</head>

<body>
  

  <div id="mainbody">
    <div id = "nav" style = " ">
      <center><h4>&lt;/Resume&gt;</h4></center>
    </div>
    <div class="header">
      <img id = "profilepic" style = "" src = "https://s3-us-west-2.amazonaws.com/s.cdpn.io/609107/profile.jpg"></img>
  </div>
    <div style = "" id = "aboutme">
   <p> <b>Lorem ipsum</b> dolor sit amet, consectetuer adipiscing elit. Nam nibh. Nunc varius facilisis eros. Sed erat. In in velit quis arcu ornare laoreet. Curabitur adipiscing luctus massa.
   </p>
    </div>
   </div>
</body>

</html>
            
          
!
            
              body {
        font-family: 'Lato';
        font-size: 48px;
        background-color: #AFCB8A;
      }

.header {
    position: absolute;
    color: solid black;
    /*border: 1px solid #ff99ff;*/
    /*border-style: ;*/
		border-radius: 50%;
		width: 250px;
    top: 0;
		height: 250px;
		background: white;
		text-align: center;
    left: 10px;
    top: 5px;
    display: inline-block;
		
    box-shadow: 0 2px 1px rgba(0,0,0,0.16), 0 2px 7px rgba(0,0,0,0.23);
  /*background: red; /* For browsers that do not support gradients */
    /*background: -webkit-linear-gradient(#b3f0ff, #e699ff); /* For Safari 5.1 to 6.0 */
  /*  background: -o-linear-gradient(#b3f0ff, #e699ff); /* For Opera 11.1 to 12.0 */
   /* background: -moz-linear-gradient(#b3f0ff, #e699ff); /* For Firefox 3.6 to 15 */
    /*background: linear-gradient(#b3f0ff, #e699ff); /* Standard syntax */
  z-index: 3;
  
}
#profilepic{
  max-width:100%; 
  max-height:100%; 
  border-radius: 3%;
  border-style: solid ;
  border-width: 2px;
  border-color: #C4C4C4;
}
#nav{
  height: 75px;
  width: 800px;
  background-color: #C4C4C4;
}
#nav h4{
  color: #E2E2E2;
  top: 18px;
}
#mainbody{
    position: relative;
  /*border: 1px solid #ff99ff;
    border-style: ;
		border-radius: 2px;*/
		width: 800px;
		
		background: white;
		top: 40px;
    /* for centering */
		left: 50%;
		transform: translate(-50%,0%);
    /*padding: 10px;*/
		text-align: left;
     
   box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
  /*background: red; /* For browsers that do not support gradients */
   /* background: -webkit-linear-gradient(#b3f0ff, #e699ff); /* For Safari 5.1 to 6.0 */
   /* background: -o-linear-gradient(#b3f0ff, #e699ff); /* For Opera 11.1 to 12.0 */
    /*background: -moz-linear-gradient(#b3f0ff, #e699ff); /* For Firefox 3.6 to 15 */
    /*background: linear-gradient(#b3f0ff, #e699ff); /* Standard syntax */
    margin: 10px;
    /*display: flex;*/
    /*flex-direction: column;*/
    /*min-height: 100vh;*/
    height: 1000px;
    margin-bottom: 100px;
    
}
#aboutme{
  position: relative;
  top: 200px;
  left: 20px; 
  height: 100px; 
  width: 250px; 
  }
#mainbody p{
  font-size: 17px
}

/* making the website mobile responsive below this line */
@media only screen and (min-width: 321px) {
    /* Larger mobile styles (wider than 320 pixels) */
}

@media only screen and (min-width: 600px) {
    /* Tablet styles (wider than 600 pixels) */
}

@media only screen and (min-width: 1024px) {
    /* Large lap
  styles (wider than 1024 pixels) */
}

@media only screen and (min-width: 1140px) {
    /* Desktop styles (wider than 1140 pixels) */
} 
            
          
!
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