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="header">
<nav class="navbar">
  <div class="logo">
      <a href="#"><img src="http://bennythomas.in/images/bt-animated.gif"></a>
   <ul class="nav-pills">
     <a href="#about"><li class="pill">About</li></a>
     <a href="#portfolio"><li class="pill">Portfolio</li></a>
     <a href="#contact"><li class="pill">Contact</li></a>
     </ul>
    </div>
  </nav>
</div>
  
  <section id="about">
    <div class="about">
      <div class="write-up">
        <h2>Hi, I'm Benny!</h2>
        <p>I am a Multi-disciplinary Designer. My strongest skill is designing usable interfaces and aesthetic visuals for web and mobile apps.</p>
<p>Besides designing interfaces, I love to illustrate and draw; write stories and blogs; paint with watercolors; and do a little animation. I enjoy sports and love fantasy art and stories.</p>
        </div>
      <div class="profile-pic"><img src="http://bennythomas.in/images/designer.gif"></div>
      </div>
    </section>

<section id="portfolio">
  <div class="portfolio">
    <br/>
    <h2>Portfolio</h2>
    <hr width="150px" style="margin-top:-10px;"/>
    <div class="table">
      <div class="cell">
        <img src="http://bennythomas.in/images/petra/macbook-with-speakers-mock-up-petra.jpg" alt="web-mockup1"/>
        </div>
      <div class="cell"><img src="http://bennythomas.in/images/myish/sitting-on-the-chair-with-iphone-6s.jpg" alt="mobile-mockup1"/></div>
      <div class="cell">
        <img src="http://bennythomas.in/images/holbe-mockups/standee2.jpg"/>
        </div>
      <div class="cell"><img src="http://bennythomas.in/images/glimpse-mockup/holding-iphone-6s-on-a-bike.jpg"/></div>
      <div class="cell">
        <img src="http://bennythomas.in/images/gyrox-mockups/bright-office-enviroment-with-macbook-air.jpg" alt="web-mockup3"/>
        </div>
      <div class="cell"><img src="http://bennythomas.in/images/ccs/ccs-mockups.jpg" alt="web-mockup4"/></div>
      </div>
    </div>
  </section>

<section id="contact">
  <div class="contact">
    <h2>Get in Touch</h2>
    <hr width="150px" style="margin-top:-10px;"/>
    <h4>Mobile: +91 99683 05144 &nbsp; | &nbsp;  Email: bennyt03@gmail.com</h4><br/>
    <form action="mailto:bennyt03@gmail.com" method="post">
		
			<p>Your Name: &nbsp;
        	<input type="text" name="name"></p>
      <p>Your Email:
        	<input type="email" name="email"></p>
       		Your Message:<input type="textarea" name="comment" size="250">
        	
        	<div class="buttons">
			<button class="submit" type="submit">SUBMIT</button>
       		<button class="reset" type="reset">RESET</button>
        	</div>
    		</form> 
    </div>
  </section>
<footer>
    	<div class="footer">
       		<p>Copyright &copy; 2017, Benny Thomas</p>
        	<ul>
            	<li><a href="https://medium.com/@bennythomas03" target="_blank"></a></li>
				<li><a href="https://www.linkedin.com/in/bennythomas03/" target="_blank"></a></li>
				<li><a href="mailto:bennyt03@gmail.com" target="_blank"></a></li>
             </ul>
        </div>
</footer>
              
            
!

CSS

              
                .html, body{
  margin:0;
  padding:0;
  font-family: Roboto, sans serif;
  background-color:#b8ceff;
	overflow-x: hidden;
}
/*header rules*/
.header{
  width:100%;
  background-color:#b8ceff;
  z-index:3;
  position:fixed;
}
.navbar{
  width:80%;
  background-color:#b8ceff;
  height:75px;
  display:block;
  margin:auto;
  z-index:2;
}
.logo img{
  width:100px;
}
.nav-pills{
  float:right;
  padding-top:20px;
}
.nav-pills li{
  display:inline;
  list-style-type:none;
}
.nav-pills a{
  text-decoration:none;
  color:black;
}
.pill{
  padding:10px;
  margin-right:10px;
  background-color:#b8ceff;
  border:none;
  border-radius:1px;
}
.pill:hover{
  background-color:white;
  box-shadow:1px 1px 3px #444;
}

/* About me rules*/
.about{
  width:80%;
  display:flex;
  flex-direction:row;
  margin:auto;
  background-color:#b8ceff;
  color:#000;
  padding:10px;
}
.write-up{
  	font-size:18px;
  	padding: 60px 15px 0 15px;
  	z-index:2;
	margin-top: 20px;
	margin-left:50px;
}
.profile-pic{width:43vw; height:auto;z-index:1; margin-top: 20px;}

/* Portfolio section rules*/
.portfolio{
  width:80%;
  height:auto;
  display:block;
  margin:auto;
  background-color:white;
  color:#000;
  padding:10px;
  text-align:center;
}
.table{
	width:100%;
	display:flex;
	flex-direction:row;
	flex-wrap:wrap;
	justify-content: space-around;
	box-sizing: border-box;
	padding:30px;
}
.cell{
  	width:48%;
  	height:38%;
	margin-bottom: 15px;
  	overflow-y: hidden;
}
.cell img{
  width:100%;
}

/*Contact me rules*/
.contact{
  width:80%;
  background-color:#b8ceff;
  height:500px;
  display:block;
  margin:auto;
  color:#000;
  padding:10px;
  text-align:center;
}
form{
	text-align:left;
	display:inline-block;
	margin: auto;
	padding-top:10px;
}
input[type=text]{
	width:300px;
	height:35px;
  margin-left: 26px;
	border:none;	
	border-bottom: 2px solid #ccc;
	border-radius:4px;
	box-sizing: border-box;
	padding-left:10px;
}
input[type=email]{
  width:300px;
  height:35px;
  margin-left:36px;
  border:none;	
  border-bottom: 2px solid #ccc;
  border-radius:4px;
  box-sizing: border-box;
  padding-left:10px;
}
input[type=textarea]{
  width:300px;
  height:100px;
  margin-left: 15px;
  padding:5px 10px 10px 15px;
  border:none;	
  border-bottom: 2px solid #ccc;
  border-radius:4px;
  box-sizing: border-box;
}
.buttons{
	width:100%;
	text-align:center;
	display:block;
	margin:auto;
  margin-left: 30px;
	padding-top:30px;
}
.submit{
	margin-right:30px;
	width:100px;
	font-size: 14px;
	font-weight:lighter;
	text-align:center;
	padding:10px;
	color:white;
	background-color:black;
	cursor:pointer;
	display:inline-block;
}
.submit:hover{
	background-color: white;
	color: black;
 	border:2px solid black;
}
.reset{
	display:inline-block;	
	width:100px;
	font-size: 14px;
	font-weight:lighter;
	text-align:center;
	padding:10px;
	color:white;
	background-color:black;
	cursor:pointer;
}
.reset:hover{
	background-color: white;
	color: black;
 	border:2px solid black;
}

/*footer rules*/
.footer{
	width: 80%;
    background-color: #b8ceff;
    height: 75px;
    display: flex;
	flex-direction: row;
	justify-content: space-between;
    margin: auto;
    z-index: 4;
}
.footer p{
	margin-bottom:0px;
}
.footer ul{
	float:right;
	margin-right:20px;
}
.footer ul li{
	display:inline-block;
}
.footer li a{
	height: 30px;
	padding-right:15px;
    width: 30px;
	transition: 0.4s; 
	display: block;
	background: url(http://bennythomas.in/images/icons/blog@0.5x.png) no-repeat;
}
.footer li:nth-child(2) a{
  background: url(http://bennythomas.in/images/icons/linkedin@0.5x.png) no-repeat;}
.footer li:nth-child(3) a{
  background: url(http://bennythomas.in/images/icons/mail@0.5x.png) no-repeat;}
              
            
!

JS

              
                
              
            
!
999px

Console