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 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

              
                <head>
	<link href="https://fonts.googleapis.com/css?family=Abel|Amatic+SC|Raleway:100,200,300,400,500,600,700,800,900" rel="stylesheet">
	<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css" />
</head>

<body>

	<nav class="navbar navbar-default navbar-fixed-top">
		<div class="container">
			<div class="navbar-header">
				<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span> 
      </button>
				<a class="navbar-brand" href="#">Nitin Raghav</a>
			</div>
			<div class="collapse navbar-collapse" id="myNavbar">

				<ul class="nav navbar-nav navbar-right">
					<li><a href="#home">Home</a></li>
					<li><a href="#about">About</a></li>
					<li><a href="#portfolio">Portfolio</a></li>
					<li><a href="#contact">Contact</a></li>
				</ul>

			</div>
		</div>
	</nav>


	<div id="home">
		<div class="container">
			<h4 class="text-cente" id="phrase">"where this road will take me, I don't know..<br> but I'm sure to find out.. "</h4>
		</div>
	</div>

	<div id="about">
		<div class="container">
			<h1 id="aboutHeading">a lil bout me</h1>
			<div class="well">
				My name is Nitin, I am an aspiring web developer who loves developing clean and elegant dynamic websites and web applications. I've learned languages such as HTML, CSS, JavaScript and continually learn much more. I have worked with popular frameworks
				such as Bootstrap and libraries such as jQuery.
			</div>
			<div class="well">I love playing ping-pong and I'm pretty good at it. I have a new-found interest in learning guitar as a hobby. Check out my portfolio and if you're interested, check out my contact area and shoot me an email.
			</div>
		</div>
	</div>


	<div id="portfolio">
		<div class="container">
			<h3 id="portfolioHeading"> My Work</h3>
			<div class="col-xs-12 col-sm-6 col-md-4 ">
				<div class="projectPlaceholders">PlaceHolder</div>
			</div>
			<div class="col-xs-12 col-sm-6 col-md-4 ">
				<div class="projectPlaceholders">PlaceHolder</div>
			</div>
			<div class="col-xs-12 col-sm-6 col-md-4 ">
				<div class="projectPlaceholders">PlaceHolder</div>
			</div>
			<div class="col-xs-12 col-sm-6 col-md-4 ">
				<div class="projectPlaceholders">PlaceHolder</div>
			</div>
			<div class="col-xs-12 col-sm-6 col-md-4 ">
				<div class="projectPlaceholders">PlaceHolder</div>
			</div>
			<div class="col-xs-12 col-sm-6 col-md-4 ">
				<div class="projectPlaceholders">PlaceHolder</div>
			</div>
		</div>
	</div>

	<div id="contact">
		<div class="container">
			<h3 class="text-center">Connect with me</h3>
			<div class="text-center">
				<a href="#" target="_blank" class="btn btn-default"><i class="fa fa-twitter fa-fw"></i> Twitter</a>
				<a href="#" target="_blank" class="btn btn-default"><i class="fa fa-facebook fa-fw"></i> Facebook</a>

				<a href="#" target="_blank" class="btn btn-default"><i class="fa fa-codepen fa-fw"></i> Codepen</a>
				<a href="#" target="_blank" class="btn btn-default"><i class="fa fa-github fa-fw"></i> Github</a>
			</div>
		</div>
	</div>


	<footer class="mainFooter">
		<div class="container">
			<ul class="list-inline">
				<li><a href="#home"><span class="glyphicon glyphicon-home"></span> Home</a></li>
				<li><a href="#about"><span class="glyphicon glyphicon-info-sign"></span> About</a></li>
				<li><a href="#portfolio"><span class="glyphicon glyphicon-folder-open"></span>  Portfolio</a></li>
				<li><a href="#contact"><span class="glyphicon glyphicon-phone-alt"></span>  Contact</a></li>
			</ul>
			<div>No copyrights intended. Feel free to edit</div>
		</div>
	</footer>

</body>
              
            
!

CSS

              
                body {
	margin: 0;
	padding: 0;
	text-align: center;
	font-family: abel, sans-serif;
}


/* bootstrap header*/

#home,
#about,
#portfolio,
#contact {
	padding-top: 80px;
}

nav.navbar {
	height: 60px;
}

a.navbar-brand {
	color: #FCA311 !important;
	font-family: "Amatic SC", cursive;
	font-size: 42px;
}

a.navbar-brand:hover {
	border-bottom: 3px solid khaki;
}

ul.nav a {
	font-size: 5vh;
	color: black;
}

ul.nav a:hover {
	color: #FCA311 !important;
	border-bottom: 3px solid khaki;
}

#phrase {
	font-size: 2.0em;
}

.collapse {
	background-color: white;
}

#home {
	padding: 48vh 0;
	background: url(https://images.unsplash.com/photo-1468386150076-13c9d6fff68b?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&cs=tinysrgb&s=0ea857c1ae5dd810d92e6038dd8bf866) no-repeat;
	background-size: cover;
	background-attachment: fixed;
}

#about {
	padding: 48vh 0;
	background-color: #FCA311;
	background-size: cover;
	background-attachment: fixed;
	font-size: 25px;
	padding-top: 10%;
}

#aboutHeading {
	font-size: 1.8em;
	text-decoration: underline;
	margin-bottom: 8vh;
	font-family: "Amatic SC", cursive;
	font-weight: bold;
}

#portfolio {
	background: url(https://images.unsplash.com/photo-1465774124747-65ab0913fb9e?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&cs=tinysrgb&s=e1281f3afd2b1a8cb2ecb1d6a21473a3) no-repeat;
	background-size: cover;
	background-attachment: fixed;
}

#portfolioHeading {
	font-family: "Amatic SC", cursive;
	font-size: 4.0em;
	margin-bottom: 10vh;
	text-decoration: underline;
	color: white;
}

.projectPlaceholders {
	height: 300px;
	margin-bottom: 30px;
	background: rgba(152, 170, 224, 0.15);
	border: 1px solid white;
	line-height: 300px;
	color: white;
}

#contact {
	padding: 30vh 0 40vh;
	background: url(https://images.unsplash.com/photo-1441943250180-ea34e997ffad?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&w=1080&fit=max&s=7a8287157709e8f7833b68595a1298db) no-repeat;
	background-size: cover;
	background-attachment: fixed;
}

.mainFooter {
	box-shadow: 0 0px 62px -12px #737373;
	background-color: #f8f8f8;
	padding: 20px 0;
}
              
            
!

JS

              
                
              
            
!
999px

Console