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 is required to process package imports. If you need a different preprocessor remove all packages first.

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

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

              
                <html lang="en">
<head>

		<title>TRP Portfolio</title>

		<!--Bootstrap-->
		<!-- Latest compiled and minified CSS -->
		<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">

 		<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>			

		<!-- Latest compiled and minified JavaScript -->
		<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>

		<!--custom style for this page-->
		<link href="portfolio_page.css" rel="stylesheet">

		<!--to use font-awesome-->
		<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">

</head>

<body>
	
		<!--business name and navbar  collapsable-->
			<div class="header clearfix">
			
				<nav id="navbar_background" class="navbar navbar-default navbar-fixed-top" role="navigation">
					<div class="container-fluid">
					<div class="navbar-header">
						<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#page_navbar">
	        				<span class="icon-bar"></span>
	        				<span class="icon-bar"></span>
	        				<span class="icon-bar"></span>
	      				</button>
						<a class="navbar-brand" href="#"> Business Name</a>
					</div>
	
					<div class="collapse navbar-collapse" id="page_navbar">
						<ul class="nav nav-pills pull-right">
							<li role="presentation" class="active"><a href="#top">Home</a></li>
							<li role="presentation"><a href="#">About</a></li>
							<li role="presentation"><a href="#portfolio_section">Portfolio</a></li>
							<li role="presentation"><a href="#">Press</a></li>
							<li role="presentation"><a href="#contact_section">Contact</a></li>
						</ul>
					</div>
					</div>
				</nav>
  </div>	

		<!--expertise and photo-->
		<div class="expertise_photo container-fluid medium_background">

			<div class="row">
				<div class="col-xs-12 col-sm-9">				
					<p class="text-center">Lorem ipsum dolor sit amet, vel ea nibh possim, ius ex tation putant virtute. Mel an elitr dolorem prodesset, ei choro convenire reprehendunt quo, cu usu putent vivendo commune. Corpora conceptam in usu. Appareat repudiandae ad mel, ea nec illum nullam, ei his volumus tacimates sapientem.</p>	
					<hr class="hr_styledmedium">
					<h3 class="text-center">Web Developer - Advisor - All Around Good Guy</h3>
				</div>

				<div class="col-xs-12 col-sm-3">	 <!-- using an xs col size=9 will put the image below on an xs screen because the total columns add up to greater than 12; but stays on same line for s or larger screens-->	
					<img class="img-responsive img-fluid img-rounded" id="portrait" src="http://vignette4.wikia.nocookie.net/the-jetsons/images/6/6e/George_Jetson.gif/revision/latest?cb=20131012154334" alt="picture of handsome man">
				</div>		
			</div>

		</div>

		<!--portfolio-->
		<div class="light_background" id="portfolio_section">
			<h2 class="text-center eliminate_topwhitespace">portfolio</h2>

			<div class="row">
				<div class="col-xs-1"></div>
				<div class="col-xs-10">
					<hr class="hr_styledlight portfolio_hr">
				</div>
			</div>

			<div class="text-center">
				<ul id="portfolio">
					<li><a href="#"><img class="img-rounded portfolio_images" src="http://www.howtogeek.com/wp-content/uploads/2010/03/640x465ximage5.png.pagespeed.gp+jp+jw+pj+js+rj+rp+rw+ri+cp+md.ic.6Mzi16Tbm8.png" alt="Google Web Page - Google images"></a></li>
					<li><a href="#"><img class="img-rounded portfolio_images" src="https://www.quackit.com/pix/make-your-own-website/example1.gif" alt="My First Web Page - Google images"></a></li>
					<li><a href="#"><img class="img-rounded portfolio_images" src="http://www.techpavan.com/wp-content/uploads/yahoo.png" alt=Yahoo Web Page"alt="Yahoo Web Page - Google images"></a></li>
					<li><a href="#"><img class="img-rounded portfolio_images" src="http://www.expertrating.com/certifications/instructorled/Web-Page-Design/Web-Pages-Creating/images/web3.jpg" alt="Web Page - Google images"></a></li>
					<li><a href="#"><img class="img-rounded portfolio_images" src="https://4.bp.blogspot.com/-xXBjSX7pN74/VGz1Ewjn2ZI/AAAAAAAAAes/sB3F7FjN98E/s320/mothersday_card.png" alt="Happy Mothers Day - Google images"></a></li>
					<li><a href="#"><img class="img-rounded portfolio_images" src="http://www.howtogeek.com/wp-content/uploads/2010/03/640x465ximage5.png.pagespeed.gp+jp+jw+pj+js+rj+rp+rw+ri+cp+md.ic.6Mzi16Tbm8.png" alt="Google Web Page - Google images"></a></li>
					<li><a href="#"><img class="img-rounded portfolio_images" src="https://www.quackit.com/pix/make-your-own-website/example1.gif" alt="My First Web Page - Google images"></a></li>
					<li><a href="#"><img class="img-rounded portfolio_images" src="http://www.techpavan.com/wp-content/uploads/yahoo.png" alt=Yahoo Web Page"alt="Yahoo Web Page - Google images"></a></li>
					<li><a href="#"><img class="img-rounded portfolio_images" src="http://www.expertrating.com/certifications/instructorled/Web-Page-Design/Web-Pages-Creating/images/web3.jpg" alt="Web Page - Google images"></a></li>
					<li><a href="#"><img class="img-rounded portfolio_images" src="https://4.bp.blogspot.com/-xXBjSX7pN74/VGz1Ewjn2ZI/AAAAAAAAAes/sB3F7FjN98E/s320/mothersday_card.png" alt="Happy Mothers Day - Google images"></a></li>
				</ul>
			</div>
			<hr class="eliminate_bottomwhitespace style14">
		</div>

		<!--contact me-->
		<div class="light_background" id="contact_section">
		<h2 class="text-center eliminate_topwhitespace">contact me</h2>

		<div class="row">
			<div class="col-xs-1"></div>
			<div class="col-xs-10">
				<hr class="hr_styledlight portfolio_hr">
			</div>
		</div>

				<div class="row">
					<div class="col-xs-1"></div>
					<div class="col-xs-10">
						<form>
							<div class="form-group">
								<label for="exampleName">Name</label>
								<input type="text"	class="form-control" id="exampleName" placeholder="name">
							</div>

							<div class="form-group">
								<label for="exampleEmail">Email Address</label>
								<input type="email" class="form-control" id="exampleEmail" placeholder="email address">
							</div>

							<div class="form-group">
								<lable for="examplePhone">Phone Number</lable>
								<input type="tel" class="form-control" id="examplePhone" placeholder="phone number">
							</div>

							<div class="form-group">
								<label for="exampleMessage">Message</label>
								<textarea class="form-control" rows="4"id="exampleMessage" placeholder="message"></textarea>
							</div>

							<button type="submit" class="btn btn-default">Send</button>
						</form>
			
						<div id="contact_paragraphs">
							<p class="text-left">Lorem ipsum dolor sit amet, vel ea nibh possim, ius ex tation putant virtute. Mel an elitr dolorem prodesset, ei choro convenire reprehendunt quo.</p>	
							<p class="text-left">Dolorem prodesset, ei choro convenire reprehendunt quo, cu usu putent vivendo commune. Corpora conceptam in usu.</p>
						</div>

					</div>
				</div>
			</div>
		
		<!--about this page and around the web-->
		<div class="social_media medium_background">
			<div class="row">
				<div class="col-xs-12 col-sm-6 text-center">
					<h2>about this page</h2>				
					<p>Made with <span><i class="fa fa-heart"></i></span> and <span><i class="fa fa-beer"></i></span> by <span><a href="#">TRP</a></span></p></div>
				<div class="col-xs-12 col-sm-6 text-center">
					<h2>around the web</h2>
					<p id="extra_spacing">
						<span><a href="#"><i class="fa fa-facebook"></i></a></span> 
						<span><a href="#"><i class="fa fa-linkedin"></i></a></span> 
						<span><a href="#"><i class="fa fa-google-plus"></i></a></span> 
						<span><a href="#"><i class="fa fa-youtube"></i></a></span>
					</p>
				</div>
			</div>
		</div>
		
		<!--page footer-->
		<div id="footer_background" class="navbar-default text-center page_footer">
			<p><a href="#">Business Name </a><span><i class="fa fa-copyright"></i></span>2016.<br>All Rights Reserved</p>
		</div>


	
</body>
</html>





   

              
            
!

CSS

              
                /* business name and navbar  collapsable */

/* padding is necessary at the top of the body so that*/ 
/*the fixed navbar doesn't cover the top edge of the content.*/
/*Needs to be same size as navbar height */

body {
	padding-top:60px;
	}



#navbar_background {
  background-color:#EEB4B4;
}



.navbar {
	height:60px;
}

#page_navbar {
	background-color:#EEB4B4;
}

#navbar_background {
  background-color:#EEB4B4;
}

.dark_background {
	background-color:#EEB4B4;
}

li {
	margin:10px;
}

/* expertise and photo */

.medium_background{
	background-color:#CDC9C9;
}
.expertise_photo {	
	font-size:2rem;
	padding-top:3rem;
}

.hr_styledmedium {
	border-top: 1px solid #8c8b8b;
	text-align: center;
}

.hr_styledmedium:after {
	content: '< / >';
	display: inline-block;
	position: relative;
	top: -17px;
	padding: 0 10px;
	background: #CDC9C9;
	color: #8c8b8b;
	font-size: 18px;
}

#portrait {
	background-color:#CDC9C9;
	margin:4px auto;
	height: 250px;
}

/* portfolio */
/* hr styling same as expertise and photo section */
.eliminate_topwhitespace {
	margin-top:0;
	padding-top:60px;
	/*60px was chosen so that there is spacing equal to the*/
	/*navbar height so that top of section is not hidden*/
	/*when using the same page link*/
}

.hr_styledlight {
	border-top: 1px solid #8c8b8b;
	text-align: center;
}

.hr_styledlight:after {
	content: '< / >';
	display: inline-block;
	position: relative;
	top: -17px;
	padding: 0 10px;
	background: #ededed;
	color: #8c8b8b;
	font-size: 18px;
}

.eliminate_bottomwhitespace {
	margin-bottom: 0;
	padding-bottom: 20px;
	color: #ffffff;
}

.light_background {
	background-color:#ededed;
}

h2 {
	text-transform: uppercase;
}

.portfolio_hr {
	padding-bottom: 4rem;
}

#portfolio li {
	display:inline-block;
}

.portfolio_images {
	height:200px;
	width:250px;
}

.style14 { 
  border: 0; 
  height: 1px; 
  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); 
}


/* contact me */
/* h2 styling same as portfolio section */
/* hr styling same as expertise and photo section */

#contact_paragraphs {
	padding-top:60px;
	/*60px was chosen so that there is spacing equal to the*/
	/*navbar height so that top of section is not hidden*/
	/*when using the same page link*/
	padding-bottom: 4rem;
	}

/* about this page and around the web */
/* h2 styling same as portfolio section */
/* background color same as expertise and photo section */
.social_media {
	font-size:2rem;
	padding-top:15px;
	padding-bottom: 20px;
}

#extra_spacing {
	word-spacing:20px;
}

/* page footer */
/* background color same as business name and navbar collapsable section */
.page_footer {
	height:60px;
	padding:10px;
}

#footer_background {
  background-color:#EEB4B4;
}
              
            
!

JS

              
                
              
            
!
999px

Console