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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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

              
                
<div class="container-fluid">
  

<!-- Start Header -->

<div class="header">
<div class="navbar">
<div class="container">
  <h2>fatima<span>zahra</span></h2>
  <ul>
    <li><a href="#abt" class="active">About</a></li>
    <li><a href="#port">portfolio</a></li>
    <li><a href="#cont">contact</a></li>
  </ul>
</div>
</div>
</div>
<!-- End Header -->
  
  
  
<!-- Start About Me -->
  <div class="container">
    <div class="tint"> 
    <div id="abt" class="about">
     
      <img src="https://images.pexels.com/photos/273222/pexels-photo-273222.jpeg?auto=compress&cs=tinysrgb&h=650&w=940" alt="Norway" style="width:100%;">

      
    <p class="centered text-center">Computer Engineer and a Front End Developer, who is a lifelong learner.</p>
  </div>  
    
  
  </div>
 <!-- <div class="container">
<div class="about">

  <div class="image fl-left">
    <img src="https://images.unsplash.com/photo-1508643315917-6688bbbb4cb5?ixlib=rb-0.3.5&ixid=eyJhcHBfaWQiOjEyMDd9&s=e8ded8ce7550446784befccf63ad704c&auto=format&fit=crop&w=750&q=80" alt="https://unsplash.com/photos/tP8ZwlCF8og" >
   </div>
   
  <div class="info-me fl-left text-center">
    
    <h1>Computer Engineer and a Front End Developer, who is a lifelong learner.</h1>
  </div>
  
  
  </div>
  </div>
  -->
<!-- End About Me -->
  
  <!-- Start Portfolio-->
  <div class="container">
  <div id="port" class="portfolio">
            
                <h1 class="text-center">Portfolio</h1>
    <p class="text-center"> These are my latest work</p>
                
                <div class="our-work">
                  <div><div class="webpage"></div></div>
                  <div><div class="webpage"></div></div>
                  <div><div class="webpage"></div></div>
                  <div><div class="webpage"></div></div>
                  <div><div class="webpage"></div></div>
                  <div><div class="webpage"></div></div>
                    
                </div>
            </div>
        </div>  
  
  <!-- End Portfolio -->
  
  
  <!-- Start Contact Me -->
  <div class="container">
  <div id="cont" class="contact">
            
   <div class="info fl-left">
     <h2>Contact Me</h2>
     <p>I would be so glad if you contact me to share whatever kind of information that adds all good to this universe of ours! :) or even to share some of my own about how I love potatoes and our Arab dish "Maqlooobeh". Lols! and more for sure.
     
     <br>
       <br>
       fatimaalzahra@rocketmail.com
     </p>
      
</div>
      <form class="form fl-left">
         <label>Name *</label>
         <input type="text">
         <label>Email Address *</label>
         <input type="text">
         <label>Phone *</label>
         <input type="text">
         <label>Message</label>
         <textarea></textarea>
         <input type="submit"value="Contact Me">
         </form>
</div>
</div>
  
  
  <!-- End Contact Me -->
  
  
  
        <div class="footer">
            <div class="container">
              
            <div class="copyright">Copyright &copy; 2018 Fatima Alzahra</div>
                <div class='socialicon'>
   <div class='icon social fb'><a href="https://www.facebook.com" target='_blank'><i class='fa fa-facebook'></i></a></div>
  <div class='icon social tw'><a href="https://www.twitter.com" target='_blank'><i class='fa fa-twitter'></i></a></div>
  <div class='icon social in'><a href="https://www.linkedin.com" target='_blank'><i class='fa fa-linkedin'></i></a></div>
</div>  

            </div>
        </div>
        
        <!-- End Footer -->
  
  
  
  
  
  
  </div>
  </div>

  
</div>

              
            
!

CSS

              
                /* Start main rules */
body {
  margin :0;
  background-color: #888;
}
.container {
  width: 1050px;
  margin: auto;
  background-color: green;

}
.text-center {
  text-align: center;
}
.fl-left {float:left;}
/* End main rules */

/* Start Header */
.header .navbar {
  background-color: #BD787D;
  color: #fff;
  overflow: hidden;
  text-transform: uppercase;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999; /* this helped that the words won't cover the navbar */
  
}
.header .navbar h2 {
  float: left;
  margin-left: 30px;
}
.header .navbar h2 span {
  color: #e6d7da;
}
.header .navbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  float: right;
  
}
.header .navbar ul li {
  float: left; /* to become at the same line not vertical */
  padding: 10px;
}
.header .navbar ul li a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}
.header .navbar ul li a:hover {
    color: #873647;
}
.active {
    color: #873647;
}
/* End Header */

/* Start About Me */
.about {
    text-align: center;
    color: white;
    height: 700px }
.centered {
    font-size: 48px;
    position: absolute;
    top: 50%;
    left: 50%;
  color: #f7eded;
  background-color: rgba(102, 104, 67, 0.3);
    transform: translate(-50%, -50%);
}

/*
.about {
  background-image: url('https://images.pexels.com/photos/273222/pexels-photo-273222.jpeg?auto=compress&cs=tinysrgb&h=650&w=940');
  background-repeat: no-repeat;
    background-size: cover;
  overflow:hidden; position: absolute;
  height: 565px; width: 1050px;
  
}
/*
.about .image {width:40%}
.about .image img {
  width: 300px; 
  height: 280px;
  border-color: #e6d7da;
  border-width: 20px;
  border-style: solid;
  border-radius: 50%;
  margin: 100px 50px 0 30px;
  
}
.about .info-me {
  width:60%
} */

.tint {
  position: relative;
  
  
  
}

.tint:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(102, 104, 67, 0.4);
  transition: all .3s linear;
}
.fl-left {float:left}




/* End About Me */

/* Start Portfolio */
.portfolio {padding-top:50px;padding-bottom:70px; background-color: #5E6C55;}
.portfolio h1 {color: #e8d7d7 }
.portfolio p {font-size: 25px; color: #c4b8b8}
.portfolio .our-work {overflow:hidden}
.portfolio .our-work div {float:left;width:50%;margin-bottom:10px}

.portfolio .our-work .webpage {
  background-color: #ccc;
  width:92%;
  height: 350px;
  margin:10px 5px 10px 17px; ;
  padding:3px;
  border:1px solid #CCC
}
/* End Portfolio */


/* Start Contact Me */
.contact {
    background-color:#776a6a;
    overflow:hidden;
    padding-top:50px;
    padding-bottom:70px
}

.contact .info {width:50%;margin-right:5%; margin-top: 35px;}

.contact h2 {font-size:40px;color:#D1D6DA;margin-left:40px}

.contact p {color:#D1D6DA;margin-left:40px; fpnt-size: 40px;}

.contact p strong {color:#D1D6DA}

.contact .form {width:45%; margin-top: 40px;}

.contact .form label {display:block;color:#D1D6DA;margin:10px 0}

.contact .form input[type="text"] {
    background-color:#6d6060;
    color:#FFF;
    padding:10px;
    border:0;
    width:80%;
    margin-bottom:10px
}

.contact .form textarea {
    background-color:#6d6060;
    color:#FFF;
    padding:10px;
    border:0;
    width:80%;
    margin-bottom:10px;
    height:300px
}

.contact .form input[type="submit"] {
    background-color:#3d3737;
    color:#FFF;
    padding:10px 20px;
    border:0;
    margin-top:10px
}
/* End Contact Me */

/* Start Footer */

.footer {
    background-color:#494141;
    color:#6A6E71;
    padding:50px 0;
    overflow:hidden;
}
.footer .copyright {
  background-color:#494141;
  font-size: 40px;
  text-align: center;
}

.socialicon {
  margin:50px auto;
  width:140px;
  text-align:center;
}
.icon {
	position:relative;
	text-align:center;
	width:0px;
	height:0px;
	padding:20px;
	border-top-right-radius: 	20px;
	border-top-left-radius: 	20px;
	border-bottom-right-radius: 20px;
	border-bottom-left-radius: 	20px; 
	-moz-border-radius: 		20px 20px 20px 20px;
	-webkit-border-radius: 		20px 20px 20px 20px;
	-khtml-border-radius: 		20px 20px 20px 20px; 	
	color:#FFFFFF;
}
.icon i {
	font-size:20px;
	position:absolute;
	left:9px;
	top:10px;
}
.icon.social {
	float:left;
	margin:0 5px 0 0;
	cursor:pointer;
	background:#6d6e71 ;
	color:#262626;
	transition: 0.5s;
	-moz-transition: 0.5s;
	-webkit-transition: 0.5s;
	-o-transition: 0.5s; 	
}
.icon.social:hover {
	background:#262626 ;
	color:#6d6e71;
	transition: 0.5s;
	-moz-transition: 0.5s;
	-webkit-transition: 0.5s;
	-o-transition: 0.5s;
	-webkit-filter:	drop-shadow(0 1px 10px rgba(0,0,0,.8));
	-moz-filter: 	drop-shadow(0 1px 10px rgba(0,0,0,.8));
	-ms-filter: 		drop-shadow(0 1px 10px rgba(0,0,0,.8));
	-o-filter: 		drop-shadow(0 1px 10px rgba(0,0,0,.8));
	filter: 			drop-shadow(0 1px 10px rgba(0,0,0,.8));	 	
}
.icon.social.fb i {
	left:13px;
	top:10px;
}
.icon.social.tw i {
	left:11px;
}
.icon.social.in i {
	left:11px;
}
a { color: inherit; } 

/* End Footer */
              
            
!

JS

              
                
              
            
!
999px

Console