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.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

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.

HTML

            
              <!-- ======= Main Section ========== -->
<div class="wrapper" id="home-page">
	<div class="container-fluid">
		<div class="image1">
			<img class="img-fluid mx-auto d-block" src="https://github.com/hayksim/Personal-Portfolio/blob/master/cover0.jpg?raw=true">

	<!-- ======= Hidden navbar (sm, xs screens) ====== -->
			<nav class="navbar navbar-toggleable-md navbar-light bg-faded" id="hidden-navbar">
			  <button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarNav">
			    <a class="burger" href="#"><i class="fa fa-bars"></i></a>
			  </button>
			  <div class="collapse navbar-collapse text-center" id="navbarNav">
			    <ul class="navbar-nav">
			      <li class="nav-item">
			        <a class="nav-link" href="#">Home</a>
			      </li>
			      <li class="nav-item">
			        <a href="#projects-page" class="nav-link" href="#">Projects</a>
			      </li>
			      <li class="nav-item">
			        <a href="#contact-page" class="nav-link" href="#">Contact</a>
			      </li>
			    </ul>
			  </div>
			</nav>

	<!-- ======= Main navbar ====== -->

			<div class="nav main-navbar" id="mainnavbar">
				<a class="btn btn-outline-primary btn-home" href="#" role="button">Home</a>
				<a href="#projects-page" class="btn btn-outline-primary btn-project" href="#" role="button">Projects</a>
				<a href="#contact-page" class="btn btn-outline-primary btn-contact" href="#" role="button">Contact</a>
			</div>
		</div>

		<div class="row text-left cover-section">
			<div class="col-md-12 header">
				<p class="lead">Portfolio</p>
				<h1>Hayk Simonyan</h1>
			</div>
		</div>

	<!-- =============Cards Section=============== -->

		<div class="main-content text-center" id="projects-page">
			<h3>Projects</h3>
		</div>
    <hr class="style14">
		<div class="row text-center card-set1">
			<div class="card-deck deck1">
				<div class="card card1 col-6">
					<a href="#"><img class="card-img-top img-thumbnail mx-auto d-block img-card1"  src="https://github.com/hayksim/Personal-Portfolio/blob/master/tribute.jpeg?raw=true" alt="jean-louis faure oncologist"></a>            
					<div class="card-block">
						<p class="card-text">Tribute page to Dr. Jean-Louis Faure.</p>
					</div>
				</div>
				<div class="card card2 col-6">
					<a href="#"><img class="card-img-top img-thumbnail mx-auto d-block img-card2" src="https://github.com/hayksim/Personal-Portfolio/blob/master/comingsoon.png?raw=true" alt="comingsoon"></a>
					<div class="card-block">
						<p class="card-text">Upcoming project</p>
					</div>
				</div>
			</div>
		</div>

		<div class="row text-center card-set2">
			<div class="card-deck deck2">
				<div class="card card3 col-6">
					<a href="#"><img class="card-img-top img-thumbnail mx-auto d-block img-card3" src="https://github.com/hayksim/Personal-Portfolio/blob/master/comingsoon.png?raw=true" alt="comnigsoon"></a>
					<div class="card-block">
						<p class="card-text text-center">Upcoming project</p>
					</div>
				</div>
				<div class="card card4 col-6">
					<a href="#"><img class="card-img-top img-thumbnail mx-auto d-block img-card4" src="https://github.com/hayksim/Personal-Portfolio/blob/master/comingsoon.png?raw=true" alt="comingsoon"></a>
					<div class="card-block">
						<p class="card-text">Upcoming project</p>
					</div>
				</div>
				<div class="card card5 col-6">
					<a href="#"><img class="card-img-top img-thumbnail mx-auto d-block img-card5" src="https://github.com/hayksim/Personal-Portfolio/blob/master/comingsoon.png?raw=true" alt="comingsoon"></a>
					<div class="card-block">
						<p class="card-text">Upcoming project</p>
					</div>
				</div>
			</div>			
		</div>


	<!-- ===============Footer============== -->
		
		<footer class="contact-me" id="contact-page">
			<div class="img-wrapper">
				<img class="img-fluid mx-auto d-block" src="https://github.com/hayksim/Personal-Portfolio/blob/master/cover3.jpg?raw=true" alt="footer_image">
				<div class="col-md-12 contact-info">
					<h3>follow</h3>
					<a class="btn btn-sm btn-primary" href="#"><i class="fa fa-twitter twitter-icon"></i></a>
					<a class="btn btn-sm btn-primary" href="#"><i class="fa fa-github"></i></a>
					<a class="btn btn-sm btn-primary" href="#"><i class="fa fa-linkedin"></i></a>
				</div>
            
				<div class="row form1 col-md-12 col-sm-8 col-8">
					<form class="col-md-4">
						<div class="form-group">
							<label for="name" class="sr-only col-form-label">name</label>
							 <input type="text" class="form-control" id="name" placeholder="&#xf007;  name" name="full_name"> 
						</div>
						<div class="form-group email-line">
							<label for="email" class="sr-only col-form-label">email</label>
							<input type="text" class="form-control" id="email" placeholder="&#xf2b7;  email" name="email">
						</div>
					</form>
					<form class="col-md-4 col-sm-12">
						<div class="form-group">
		    			<label class="sr-only" for="textarea">Comments</label>
		    			<textarea class="form-control" id="textarea" rows="4" placeholder="&#xf075;  leave comments..."></textarea>
		  			</div>
		  				<input class="btn btn-primary submit-form" type="submit" value="Submit">
		  			</form>

	  			</div>
	  			<p class="copyright"><span>Created and coded by Hayk Simonyan, 2017</span></p>
				  <a href="#home-page"><input class="btn btn-primary target-home" type="submit" value="&#xf062"></a>
	  		</div>
		</footer>
	</div>
</div>

            
          
!

CSS

            
              .wrapper {
	overflow: hidden;
}
.container-fluid {
	margin: 0;
	padding: 0;
	font-size: 30px;
}

/* ----- Cover Section ------ */
.image1 {
	margin-top: -70px;
	background: no-repeat center center fixed;
	position: relative;
}
.main-navbar {
	position: absolute;
	top: 38%;
	left: 15%;
	display: flex;
	flex-direction: column;
	border: solid 1px #b37400;
	padding: 25px 30px;
	background-color: rgba(26,26,26,0.45);
}
.main-navbar a {
	margin: 15px;
	padding: 8px 20px;
	color: #fff;
	font-size: 18px;
	border: solid #0d6c7c 2px;
	background-color: rgba(13,108,124, 1.0);
	font-family: Helvetica;
}
.main-navbar a:hover {
	background-color: #1294aa;
	border: solid #1294aa 2px;
}

.header {
	position: absolute;
 	top: 4.4%;
 	left: 2%;
 	color: #fff;
}
.header h1 {
   color: #fff;
   padding: 0 auto;
   position: relative;
   left: 20px;
}
.lead {
	font-size: 25px;
	margin-bottom: 0;
	margin-right: 50%;
	font-family: 'Great Vibes';
}


/* ----- cards section ------ */
.main-content h3 {
	margin: 3% 0 0% 0;
	font-family: 'Great Vibes';
	font-size: 45px; 
}
.style14 { 
  border: 0; 
  height: 1px; 
  background-image: -webkit-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
}
.img-card1 {
	width: 60%;
	margin-top: 15px;
}
.card1 img:hover {
	transform: scale(1.05);
	transition: 0.2s;
}
.card-set1 p, .card-set2 p {
	margin: 10px 5px 0 5px;
	border-top: #696969 1px solid;
	padding: 25px 10px 0px 10px;
}
.card-block {
	padding: 5px 10px;
}
.card-set1 {
	margin: 3% 10%;
	font-size: 16px;
}
.card-set2 {
	margin: 2% 8%;
	font-size: 16px;
}
/* ----- footer ------ */

input, textarea {
	font-family: 'FontAwesome';
}
.img-wrapper {
	position: relative;
}
.contact-info {
	position: absolute;
	top: 5%;
	left: 1%;
  color: #fff;    
}
.contact-info h3 {
	font-size: 30px;
	font-family: 'Great Vibes';
	margin-bottom: 0px;
  margin-left: 5px;
}
.btn-primary {
	background-color: #0d6c7c;
	border: #fff solid 1px;
}
.form1 {
	position: absolute;
	top: 25%;
	left: 15%;
}
.copyright {
	font-size: 12px;
	color: #fff;
	position: absolute;
	bottom: -5px;
	left: 10px;
}
.leave-comments {
	position: absolute;
	color: #fff;
	top: 19%;
	left: 38%;
}
textarea {
	resize: none;
}
.email-line {
	padding-top: 6px;
}
.form-group input::placeholder {
	color: #a8a8a8;
}
.form-group textarea::placeholder {
	color: #a8a8a8;
 }
.contact-me a:hover{
	background-color: lightblue;
	border-color: lightblue;
}
.submit-form {
	border: none;
	display: block;
	float: right;
	font-family: helvetica, sans-serif;
	cursor: pointer;
}
.submit-form:hover {
	background-color: lightblue;
	color: #000;
}
.target-home {
	position: fixed;
	right: 10px;
	bottom: 8px;
	border: none;
	padding: 5px 10px; 
	background-color: #1c5963;
	cursor: pointer;
}
.target-home:hover {
	background-color: #86c5d0;
	color: #677274;
}

/* ===== Media queries ===== */

@media screen and (max-width: 582px) {
    .header h1 {
      font-size: 16px;
    }
    .form1 {
	    position: absolute;
	    top: 10%;
	    left: 30%;
	}
	.submit-form {
		 font-size: 12px;
	}
}
@media screen and (min-width: 582px) {
	.header p {
		font-size: 2em;
	}	
}
@media screen and (max-width: 768px) {
	.navbar {
    z-index: 999;
  	background-color: rgba(26,26,26,0.45);
  	border: none;
  	width: 200px;
  	display: inline;
  	float: right;
  	position: absolute;
  	top: 85px;
  	right: 10px;
  	margin: 0;
  	padding: 0;
  	cursor: pointer;
	}
  #hidden-navbar button {
    border: none;
  }
  #hidden-navbar button:hover {
    background-color: rgba(255,255,255,0.5);
  }
  .fa {
    color: rgb(255,255,255);
    padding: 14px;
    margin: -13px;
    transform: scale(1.4,1);
  }
  .fa:hover {
    color: black;
    background-color: rgba(255,255,255,0);
  }
  .contact-info a {
    transform: scale(1.0,1.2); 
  }
	.main-navbar {
		display: none;
	}
	.card-block {
		padding: 0px 1px;
	}
  .navbar-toggleable-md{
    background: none;
    padding-right: 65px;
  }
  #navbarNav a{
   float: right;
   width: 80px;
   margin-top: 4px;
	 padding: 4px 2px;
	 color: #fff;
	 font-size: 16px;
	 border: solid #0d6c7c 1px;
     border-radius: 3px;
	 background-color: rgba(13,108,124, 0.8);
	 font-family: Helvetica;
  }
  #navbarNav a:hover {
	background-color: #1294aa;
	border: solid #1294aa 1px;
  }
}
@media screen and (min-width: 769px) {
	.navbar {
		display: none;
	}
}










            
          
!

JS

            
              
            
          
!
999px

Console