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

              
                <header>
<h2><a href="#">Goa Travel</a></h2>	
<nav>
		<li><a href="#">Tours</a></li>
		<li><a href="#">About</a></li>
		<li><a href="#">Contact Us</a></li>
		
</nav>
</header>	
<section class="hero">
	<div class="bkg-img" style="background-image:url('https://farm4.staticflickr.com/3372/3299941029_0074286419_o.jpg');"></div>
	<div class="hero-content">
		<h1>Goa Travel</h1>
		<h3>Unmissable Tours Around Beautiful Goa</h3>
		<a href="#" class="btn">Contact Us Now</a>
	</div>
</section>

<section class="destinations">
	<h3 class="title">Some Of Our Destinations</h3>
	<p>Love the surf and sand? History buff? Nature enthusiast? Thrill seeker interested in water sports, dolphin sightseeing, backwater kayaking, parasailing, and scuba diving? Goa has something for everyone</p>
	<hr>
	<ul class="grid">
	<li class="small" style="background-image:url('https://farm5.staticflickr.com/4005/4267674623_a786e4a440_o.jpg');"></li>
<li class="large" style="background-image:url('https://farm9.staticflickr.com/8334/8103080370_254bcd9f90_o.jpg');">
	
</li>
		<li class="large" style="background-image:url('https://farm6.staticflickr.com/5296/5444152459_2bffa50e90_o.jpg');"></li>
		<li class="small" style="background-image:url('https://farm1.staticflickr.com/211/535585258_84df3cd5f1_o.jpg"></li>
	</ul>	
	
</section>
														 
<section class="packages">
<h3 class="title">Tour Packages</h3>		
<p>We offer a variety of sightseeing and immersion packages. Whether you want to experience the rich culture, immerse yourself in it's natural beauty, or have a relaxing visit, we've got the perfect vacation for you</p>
<hr>
<ul class="grid">
	<li>
		<i class="fa fa-compass fa-4x"></i>
		<h4>Guided Tours</h4>
		<p>Looking for the complete experience? Take a tour with one of our experts. Visit the beautiful old temples and churches and the numerous beaches. Sample the local dishes and visit various health or spa retreats to pamper yourself on your vacation. </p>
	</li>
	<li>
		<i class="fa fa-camera-retro fa-4x"></i>
		<h4>Photo Tours</h4>
		<p>Want to experience nature's beauty without all the trekking, walking and waiting? Take a photo tour on one of our luxury buses.</p>
	</li>
	<li>
		<i class="fa fa-motorcycle fa-4x"></i>
		<h4>Bike Tours</h4>
		<p>A fun  way to experience the local atmosphere while seeing as much of Goa as you can. We'll provide the bikes and lunch too!</p>
	</li>
	<li>
		<i class="fa fa-binoculars fa-4x"></i>
		<h4>Safari Tours</h4>
		<p>Looking to see some wildlife? We offer fantastic safari trips! Spend a day out cruising along the back waters of the Zuari River in a giant canoe, returning to camp in the evening to retell your adventures next to the campfire!</p>
	</li>
</ul>
</section>	

<section class="testimonials">
	<h3 class="title">Testimonials from Goa travellers:</h3>
	<hr>
	<p  class="quote">A most wonderful place although I gather greatly different to northern India-the people were lovely(although immense haggling which was fun when we caught on)stunning and must go back!</p>
	<p  class="author">-Amanda D'Cunha</p>
	<p  class="quote">We loved everything about Goa, the people are the best we've ever met. The Elephant trip was really good - a must for anyone.</p>
	<p  class="author">-Angelo Fernandes</p>
	<p  class="quote">Very well framed and arranged tour package, I find everything in it like delicious food,spacious rooms,well maintained, disciplined behaviors, well planned vehicles for site scenes. Nothing more to say, contains all things for a travelers.</p>
	<p  class="author">-Diana Monteiro</p>
</section>
<section class="contact">
	<h3>Learn More</h3>
	<p>Want to know about upcoming specials, and value deals? Just sign up for our mailing list. We'll keep you informed on new tour packages and offerings. No  spam, we promise!</p>
	<hr>	
	<form>
		<input type="email" />
		<button class="btn">subscribe now </button>
	</form>	
</section>	
<footer>
	<p>Images courtesy of <a href="http://www.photosforclass.com/"></a>Photos for Class</p>
<p>Visit Goa and have a good time doing it, when you use one or more of our tours...</p>
<ul>
	<li><a href="#"><i class="fa fa-twitter-square fa-2x"></i></a></li>
	<li><a href="#"><i class="fa fa-facebook-square fa-2x"></i></a></li>
	<li><a href="#"><i class="fa fa-snapchat-square fa-2x"></i></a></li>
</ul>
</footer>	
														 
<!--
https://farm5.staticflickr.com/4005/4267674623_a786e4a440_o.jpg
https://farm9.staticflickr.com/8334/8103080370_254bcd9f90_o.jpg
https://farm6.staticflickr.com/5296/5444152459_2bffa50e90_o.jpg
https://farm1.staticflickr.com/211/535585258_84df3cd5f1_o.jpg
-->														
              
            
!

CSS

              
                * {
	margin:0;
	padding:0;
	box-sizing:border-box;
}

html {
	font: normal 16px Raleway;
	color:#555;
}

ul, nav {
	list-style:none;

}

a {
	text-decoration:none;
	opacity:0.75;
	color:#fff;
}

a:hover {
	opacity:1;
}

@keyframes fadeIn {
	100% {
		opacity:1;
	}
}

header {
	position:absolute;
	width:100%;
	
	display:flex;
	justify-content:space-between;
	align-items:center;
	
	padding: 35px 100px 0;
	opacity:0;
	animation: fadeIn 1s  0.5s forwards ease-in;
	color:#fff;
}


nav {
	display: flex;
	margin-right: -15px;
}

header nav li {
	margin: 0 15px;
}

@media (max-width:800px) {
	header {
		padding:20px 50px;
		flex-direction:column;
	}
	
	header h2 {
		margin-bottom:15px;
	}
}


section {
	text-align:center;
	display:flex;
	flex-direction:column;
	align-items:center;
	padding: 100px 80px;
}

section:not(.hero):nth-child(even) {
	background-color:#f5f5f5;
}

@media (max-width:800px) {
	section {
		padding:50px 20px;;
	}
}

.btn {
	border-radius:4px;
	text-transform:uppercase;
	background-color:#3751b5;
	opacity:1;
	font-weight:bold;
	color:#fff;
}

.hero {
	position:relative;
	justify-content:center;
	text-align:center;
	min-height:100vh;
	color:#fff;
}


.hero .bkg-img {
	position:absolute;
	top:0;
	left:0;
	background-size:cover;
	width:100%;
	height:100%;
	z-index:-1;
}

.hero h1 {
	font-size:60px;
	margin-bottom:15px;
}

.hero h3 {
	font-size:28px;
	margin-bottom:40px;
}

.hero a.btn {
	padding: 20px 46px;
}


.hero-content {
	opacity:0;
	margin-top:200px;
	animation: slideIn 1s 1s forwards ease-in;
}

@keyframes slideIn {
	100% {
		opacity:1;
		margin:0;
	}
}

@media (max-width:800px) {
	.hero {
		min-height:600px;
	}
	
	.hero h1 {
		font-size:48px;
	}
	
	.hero h2 {
		font-size:24px;
	}
	
	.hero a.btn {
		padding: 15px 40px;
	}
}

.grid {
	width:100%;
	display:flex;
	flex-wrap:wrap;
	justify-content:center;
}

hr {
	width:250px;
	height:3px;
	background-color:#3f51b5;
	border:0;
	margin:50px;
}

section h3.title {
	text-transform:capitalize;
	font: bold 32px Raleway;
	margin-bottom:30px;
	text-align:center;
}

section p {
	max-width:775px;
	line-height:2;
	padding: 0 20px;
	margin-bottom:30px;
	text-align:center;
}

.destinations .grid li {
	height:350px;
	padding:10px;
	background-clip:content-box;
	background-size:cover;
	background-position:center;
}

.destinations .grid li.small {
	flex-basis:30%;
}

.destinations .grid li.large {
	flex-basis:70%;
}

@media (max-width:1100px) {
	.destinations .grid li.small,
	.destinations .grid li.large {
		flex-basis:50%;
	}
}

@media (max-width:800px) {
	.destinations .grid li.small,
	.destinations .grid li.large {
		flex-basis:100%;
	}
}


.packages .grid li {
	padding:50px;
	flex-basis:50%;
	text-align:center;
} 

.packages .grid li i {
	color:#8c9eff;
}

.packages .grid li h4 {
	font-size:30px;
	margin:20px;
}
	
@media (max-width:800px) {
	.packages .grid li {
		flex-basis:100%;
		padding:20px;
	}
}

.testimonials .quote {
	font-size:22px;
	font-weight:300;
	line-height:1.5;
	margin: 40px 0 25px;
}

@media (max-width:1100px) {
.testimonials .quote {
		font-size:18px;
		margin:15px 0;	
	}
	.testimonials .author {
		font-size:14px;
	}	
}

.contact form {
	display:flex;
	justify-content:center;
	align-items:center;
	flex-wrap:wrap;
	width:60%;
}

.contact form .btn{
	padding: 18px 42px;
}

.contact form input {
	padding:15px;
	margin-right:30px;
	font-size:18px;
	color:#555;
	flex:1;
}

@media (max-width:1000px) {
	.contact form input {
		flex-basis:100%;
		margin 0 0 20px 0;
	}
	
}

footer {
	display:flex;
	align-items:	center;
	justify-content:space-around;
	background-color:#607d8b;
	color:#fff;
	padding: 20px 0;
}

footer ul {
	display:flex;
}

footer ul li {
	margin-left:16px;
	
}

footer p {
	text-transform:uppercase;
	font-size:14px;
	opacity:0.6;
	align-self:center;
}

@media (max-width:1100px) {
	footer {
		flex-direction:column;
		margin-bottom:20px;
	}
	
	footer ul li {
		 margin: 0 8px;
	}
}
              
            
!

JS

              
                
              
            
!
999px

Console