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

              
                <html>
<head>
	<meta charset="utf-8" />
	<meta charset="viewport" content="width=device-width, initial scale=1.0" />
	<title>Wedding Site</title>

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

	<link href="https://fonts.googleapis.com/css?family=Courgette|Dancing+Script|Great+Vibes|Lobster|Alex+Brush" rel="stylesheet">

	<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/baguettebox.js/1.8.1/baguetteBox.min.css">
</head>

<body>
	<div>
		<nav class="navbar navbar-default show navigation-clean navbar-fixed-top">
			<div class="container">
				<div class="navbar-header">
					<a class="navbar-brand navbar-link" href="https://www.instagram.com/explore/tags/weddinghashtag/" target="_blank" id="hashtag">#weddinghashtag</a>
					<button class="navbar-toggle collapsed" data-target="#navcol-1" data-toggle="collapse">
						<span class="sr-only">Toggle Navigation</span>
						<span class="icon-bar"></span>
						<span class="icon-bar"></span>
						<span class="icon-bar"></span>
					</button>
				</div>
				<div id="#navcol-1" class="collapse navbar-collapse">
					<ul class="nav navbar-nav navbar-right">
						<li class="active" role="presentation">
							<a href="#home">Home</a>
						</li>
						<li role="presentation">
							<a href="#details">Details</a>
						</li>
						<li role="presentation">
							<a href="#accommodations">Accommodations</a>
						</li>
						<li role="presentation">
							<a href="#gallery">Gallery</a>
						</li>
						<li role="presentation">
							<a href="#rsvp">RSVP</a>
						</li>
					</ul>
				</div>
			</div>
		</nav>
	</div>

	<div id="home" class="container">
	  <div class="row">
      <h1>Bride &amp; Groom</h1>
      <h3>March 31, 2018</h3>
    </div>
	</div>

	<div id="details" class="container">
    <h1>Wedding Details</h1>
		<div class="row col-md-12 col-lg-12 col-sm-12 col-xs-12"> 
			<div class="col-lg-6 col-md-6 col-sm-6"> 
				<div id="accordian" class="panel-group" aria-multiselectable="true" role="tablist">
					<div class="panel panel-default">
						<div class="panel-heading" role="tab" id="headingOne">
							<h3 class="panel-title">
								<a role="button" data-toggle="collapse" data-parent="#accordian" href="#collapseOne" aria-expanded="true" aria-controls="collapseOne">Event 1
								</a>
							</h3>
						</div>
						<div id="collapseOne" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="headingOne">
							<div class="panel-body">
								<span> A colorful night filled with music and dancing.<br>Time: 7pm - 11pm<br>Location: Ballroom</span>
							</div>
						</div>
					</div>

					<div class="panel panel-default">
						<div class="panel-heading" role="tab" id="headingTwo">
							<h3 class="panel-title">
								<a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordian" href="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo">
								Wedding Ceremony
								</a>
							</h3>
						</div>
						<div id="collapseTwo" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingTwo">
							<div class="panel-body">
								<span>
				    			    Ceremony: 9am<br>
				    			    Lunch: 12pm<br>
				    			    Location: Ballroom<br>
				    			</span>
							</div>
						</div>
					</div>

					<div class="panel panel-default">
						<div class="panel-heading" role="tab" id="headingThree">
							<h3 class="panel-title">
								<a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordian" href="#collapseThree" aria-expanded="false" aria-controls="collapseThree">
								Wedding Reception
								</a>
							</h3>
						</div>
						<div id="collapseThree" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingThree">
							<div class="panel-body">
								<span>
									  Cocktail Hour: 6pm - 7pm<br>
    			        	Reception: 7pm<br>
    			        	Location:  Ballroom<br>
								</span>
							</div>
						</div>
					</div>
				</div>
			</div>
			<div id="hotel" class="col-lg-6 col-md-6 col-sm-6 col-md-offset-0">
				<h3>Hotel Name</h3><br>
				<p>Street</p><br>
				<p>City & Zipcode</p><br>
				<iframe width="375" height="300" id="gmap_canvas"     src="https://maps.google.com/maps?q=Dallas%2C%20US&t=&z=14&ie=UTF8&iwloc=&output=embed" frameborder="0" scrolling="no" marginheight="0" marginwidth="0"></iframe>
				<iframe id="forecast_embed" type="text/html" frameborder="0" height="200"
			   width="95%"src="http://forecast.io/embed/#lat=33.109030&lon=-96.827241&name=Frisco, TX&color=#00aaff">
			     </iframe>
			</div> 
		</div>
	</div>

	<div id="accommodations" class="container">
    <h1>Accommodations</h1>
	</div>

	<div id="gallery" class="container">
		<div class="container gallery-container">

		    <h1>Gallery</h1>
		    <p class="page-description text-center">A Picture Is Worth A Thousand Words</p>
		    
		    <div class="tz-gallery">
		        <div class="row">
		            <div class="col-sm-6 col-md-4">
		                <a class="lightbox" href="image1.jpg">
		                    <img src="image2.jpg" alt="img1">
		                </a>
		            </div>
		            <div class="col-sm-6 col-md-4">
		                <a class="lightbox" href="image2.jpg">
		                    <img src=".image2.jpg" alt="img2">
		                </a>
		            </div>
		            <div class="col-sm-12 col-md-4">
		                <a class="lightbox" href="image3.jpg">
		                    <img src="image3.jpg" alt="img3">
		                </a>
		            </div>
		            <div class="col-sm-6 col-md-4">
		                <a class="lightbox" href="image4.jpg">
		                    <img src="image4.jpg" alt="img4">
		                </a>
		            </div>
		            <div class="col-sm-6 col-md-4">
		                <a class="lightbox" href="image5.jpg">
		                    <img src="image5.jpg" alt="img5">
		                </a>
		            </div>
		            <div class="col-sm-6 col-md-4">
		                <a class="lightbox" href="image6.jpg">
		                    <img src="image6.jpg" alt="img6">
		                </a>
		            </div>
		            <div class="col-sm-6 col-md-4">
		                <a class="lightbox" href="image7.jpg">
		                    <img src="image7.jpg" alt="img7">
		                </a>
		            </div>
		            <div class="col-sm-6 col-md-4">
		                <a class="lightbox" href="image8.jpg">
		                    <img src="image8.jpg" alt="img8">
		                </a>
		            </div>
		            <div class="col-sm-6 col-md-4">
		                <a class="lightbox" href="image9.jpg">
		                    <img src="image9.jpg" alt="img9">
		                </a>
		            </div>
		        </div>
		    </div>
		</div>
	</div>

	<div id="rsvp" class="container"> <!-- RSVP form -->
		<form class="form-horizontal">
			<fieldset>
			<!-- Form Name -->
			<legend>RSVP</legend>

			<!-- Text input-->
			<div class="form-group">
			  <label class="col-md-4 control-label" for="textinput">Your Name</label>  
			  <div class="col-md-5">
			  <input id="textinput" name="textinput" type="text" placeholder="first and last name..." class="form-control input-md" required="">
			    
			  </div>
			</div>

			<!-- Text input-->
			<div class="form-group">
			  <label class="col-md-4 control-label" for="textinput">Number of guests of in your party:</label>  
			  <div class="col-md-2">
			  <input id="textinput" name="textinput" type="text" placeholder="placeholder" class="form-control input-md" required="">
			    
			  </div>
			</div>

			<!-- Textarea -->
			<div class="form-group">
			  <label class="col-md-4 control-label" for="textarea">Names of all guests in your party:</label>
			  <div class="col-md-4">                     
			    <textarea class="form-control" id="textarea" name="textarea">please separate names with a comma</textarea>
			  </div>
			</div>

			<!-- Multiple Checkboxes -->
			<div class="form-group">
			  <label class="col-md-4 control-label" for="checkboxes">Which events will you attend?</label>
			  <div class="col-md-4">
			  <div class="checkbox">
			    <label for="checkboxes-0">
			      <input type="checkbox" name="checkboxes" id="checkboxes-0" value="1">
			      Event1
			    </label>
				</div>
			  <div class="checkbox">
			    <label for="checkboxes-1">
			      <input type="checkbox" name="checkboxes" id="checkboxes-1" value="2">
			      Wedding Ceremony
			    </label>
				</div>
			  <div class="checkbox">
			    <label for="checkboxes-2">
			      <input type="checkbox" name="checkboxes" id="checkboxes-2" value="3">
			      Wedding Reception
			    </label>
				</div>
			  </div>
			</div>

			<!-- Button -->
			<div class="form-group">
			  <label class="col-md-4 control-label" for="submit"></label>
			  <div class="col-md-4">
			    <button id="submit" name="submit" class="btn btn-primary">Submit</button>
			  </div>
			</div>

			</fieldset>
		</form>
	</div>

	<div class="footer-basic" id="footer">
		<footer>
			<p class="copyright">&copy; 2017 Nikhil Patel</p>
		</footer>
	</div>

<script>
    baguetteBox.run('.tz-gallery');
</script>
</body>
</html>
              
            
!

CSS

              
                #home, #details, #accommodations, #gallery, #rsvp {
	width: 100%;
	padding: 5% 0;
	margin: 0;
	min-height: 100vh;
}

.nav {
	font-family: "lobster";
	font-size: 16px;
}

#hashtag {
	color: rgb(12, 49, 122);
	font-family: "Courgette", cursive;
	font-size: 26px;
}

#hashtag:hover {
	transform: scale(1.2);
	color: goldenrod;
	cursor: auto;
}

.row {
	margin: 0;
	padding-left: 0;
	padding-right: 0;
}

#home {
	background: url("background1.jpg");
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-position: center;
	opacity: 0.8;
  text-align: center;
}

#home .row {
  padding-top: 25%;
  padding-bottom: 10%;
}

#home h1{
  font-size: 60px;
  padding-bottom: 0;
  margin: 0;
}

h1 {
  text-align: center;
  font-size: 50px;
  padding-bottom: 10%;
}

#footer {
	height:20px;
	margin:0;
}

.copyright {
	font-size: 20px;
	font-weight: bold;
	color:black;
	text-align: center;
}

#details {
	background: silver;
}

#accordian {
	text-align: center;
	padding-top: 20%;
}

#accordian h3 {
	font-weight: bold;
	
}

legend {
	text-align: center;
	font-size: 40px;
}

#hotel {
	text-align: center;
}

#hotel h3 {
	margin: 0;
}

#hotel p{
	line-height: 10px;
	margin: 0;
	padding-top: 0;
	padding-bottom: 0;
	font-size: 18px;
}

iframe {
	padding: 3px;
}

#gmap_canvas {
  overflow:hidden;
  height:300px;
  width:375px;
  background: none!important;
}

#gallery {
    background-image: linear-gradient(to top, #ecedee 0%, #eceeef 75%, #e7e8e9 100%);
    min-height: 100vh;
    font: normal 16px sans-serif;
    padding: 60px 0;
}

.container.gallery-container {
    background-color: #fff;
    color: #35373a;
    min-height: 100vh;
    border-radius: 20px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.06);
}

.gallery-container h1 {
    text-align: center;
    margin-top: 70px;
    font-family: 'Droid Sans', sans-serif;
    font-weight: bold;
    font-size: 50px;
}

.gallery-container p.page-description {
    text-align: center;
    max-width: 800px;
    margin: 25px auto;
    color: #888;
    font-size: 26px;
    font-family: "Alex Brush";
    font-weight: bold;
}

.tz-gallery {
    padding: 40px;
}

.tz-gallery .lightbox img {
    width: 100%;
    margin-bottom: 30px;
    transition: 0.2s ease-in-out;
    box-shadow: 0 2px 3px rgba(0,0,0,0.2);
}


.tz-gallery .lightbox img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(0,0,0,0.3);
}

.tz-gallery img {
    border-radius: 4px;
}

.baguetteBox-button {
    background-color: transparent !important;
}


@media(max-width: 768px) {
    body {
        padding: 0;
    }

    .container.gallery-container {
        border-radius: 0;
    }
}
              
            
!

JS

              
                
              
            
!
999px

Console