css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

Pen Settings

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

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.

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.

            
              <!DOCTYPE html>
<html lang="en" >

<head>
  <meta charset="UTF-8">
  <title>Project : 3 Catering</title>
  <meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="immanishbainsla">
<meta charset="utf-8">
<meta name="keywords" content="HTML, CSS, XML, JavaScript">
<meta name="description" content="Catering Project">
  
  
      <link rel="stylesheet" href="css/style.css">

  
</head>

<body>

  <!DOCTYPE html>
<html lang="en" >

<head>
  <meta charset="UTF-8">
  <title>Project : 3 Catering</title>
  <meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="immanishbainsla">
<meta charset="utf-8">
<meta name="keywords" content="HTML, CSS, XML, JavaScript">
<meta name="description" content="Catering Project">
  
  
      <link rel="stylesheet" href="css/style.css">
			<link rel="icon" href="https://cdn.dribbble.com/users/1181413/screenshots/3275736/burgerbible_logo_dribble.jpg">

</head>

<body>
	
  <!-- HTML starts here -->
<body>
	
<!-- 	HEADER content -->
	<header id="header">
		
<!-- 		LOGO box -->
		<div id="logo">
			<img src="https://cdn.dribbble.com/users/1181413/screenshots/3275736/burgerbible_logo_dribble.jpg"  alt="BurderBible" width="100px" height="100%" id="header-img"/>
		</div>
		
<!-- 		NAVIGATION bar -->
		<nav id="nav-bar">
			<ul id="nav-list">
				<li class="nav-link"><a href="#contact">Contact</a></li>
				<li class="nav-link"><a href="#video-box">Video</a></li>
				<li class="nav-link"><a href="#menu-box">Menu</a></li>
				<li class="nav-link"><a href="#ab">About</a></li>
			</ul>
		</nav>
	</header>
	<main>
				<div id="home">

				</div>
        
        <div class="about" id="ab">
            <div class="about-div" id="about-1">
                <img src="https://www.w3schools.com/w3images/tablesetting2.jpg" alt="About-Image" id="about-img">
            </div>
            <div class="about-div" id="about-2">
                <h1 class="about-h1">About Catering</h1>
                <h3 id="about-h3">Tradition since 1889</h3>
                <p class="about-p">The Catering was founded in blabla by Mr. Smith in lorem ipsum dolor sit amet, consectetur adipiscing elit consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute iruredolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.We only use seasonal ingredients.
                </p>
                
                <p class="about-p menu-p">Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum consectetur adipiscing elit, sed do eiusmod temporincididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
                </p>
            </div>
        </div>
		
		
        <div class="about" id="menu-box">
            <div class="about-div" id="menu-1">
               <h1 class="about-h1">Our Menu</h1>
               
               <h3 class="menu-h3">Bread Basket</h3>
               <p class="menu-p">Assortment of fresh baked fruit breads and muffins 5.50</p> 
               
               <h3 class="menu-h3">Honey Almond Granola with Fruits</h3>
               <p class="menu-p">Natural cereal of honey toasted oats, raisins, almonds and dates 7.00</p> 
               
               <h3 class="menu-h3">Belgian Waffle</h3>
               <p class="menu-p">Vanilla flavored batter with malted flour 7.50</p> 
               
               <h3 class="menu-h3">Scrambled eggs</h3>
               <p class="menu-p">Scrambled eggs, roasted red pepper and garlic, with green onions 7.50</p> 
               
               <h3 class="menu-h3">Blueberry Pancakes</h3>
               <p class="menu-p">With syrup, butter and lots of berries 8.50</p> 
               
                                             
            </div>
            
            <div class="about-div" id="menu-2">
                <img src="https://www.w3schools.com/w3images/tablesetting.jpg" alt="menu-Image" id="about-img">
            </div>
        </div>	
        
    		<div id="video-box">
<iframe width="560" height="315" src="https://www.youtube.com/embed/eh1KOF6lkAc?rel=0&amp;showinfo=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen id="video"></iframe>			

        </div>    	
		
		
        <div id="contact">
            <h1 class="contact-h1">
                Contact
            </h1>
            <p class="contact-p">
              We offer full-service catering for any event, large or small. We understand your needs and we will cater the food to satisfy the biggerst criteria of them all, both look and taste. Do not hesitate to contact us.  
            </p>
            
            <p class="contact-p" id="contact-p-blue">
               Catering Service, 42nd Living St, 43043 New York, NY 
            </p>
            
            <p class="contact-p">
                You can also contact us by phone 00553123-2323 or email catering@catering.com, or you can send us a message here:
            </p>
            
            <form method="post" id="form" action="#">
                <input type="text" name="name" id="name" required placeholder="Name" class="input-field" spellcheck="true"/>
                <input type="email" name="email" id="email" required placeholder="Email" class="input-field"/>
                <input type="number" name="number" id="number" required placeholder="How Many People" class="input-field"/>
                <input type="datetime" name="datetime" id="datetime" required placeholder="16-11-2018 20:00" class="input-field"/>
                <input type="text" name="msg" id="msg" required placeholder="Message \ Special requirements" class="input-field"/>
                <input type="submit" name="submit" id="submit" value="SEND MESSAGE"/>
                
                
            </form>
        </div>	
								
	</main>
	
	<footer id="footer">
	    Copyright : &copy; @immanishbainsla
	</footer>
	
	
	
</body>



			
<!-- <iframe width="560" height="315" src="https://www.youtube.com/embed/eh1KOF6lkAc?rel=0&amp;showinfo=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>			 -->
  
  

</body>

</html>
  
  

</body>

</html>

            
          
!
            
              /* STYLING body */
body{
	padding: 0;
	margin: 0;
	font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;	
}

body::-webkit-scrollbar {
	display: none;
	}


/* STYLING HEADER using id */
#header{
	width: 100%;
	height: 70px;
	/* border: 1px solid white; */
	box-sizing: border-box;
	box-shadow: 2px 2px 2px 2px #ccc;
	position: fixed;
	top: 0;
	left: 0;
	background-color: #fff;
}

/* STYLING HEADER content */

/* LOGO */
#logo{
	width: 25%;
	height: 100%;
	float: left;
}


/* STYLING NAVIGATION  */
#nav-bar{
	width: 75%;	
	float: right;
}

ul{
	padding: 0;
	margin: 0;
	list-style: none;
	
}

#nav-bar ul li{
	float: right;
	padding: 20px;
	font-size: 20px;
	color: white;
	font-family: 'Courier New', Courier, monospace;
}

main{
	width: 100%;
	height: auto;
	border: 1px solid white;
	box-sizing: border-box;
}

#home{
	width: 100%;
	height: 50vw;
	float: left;
	background-image: url('https://www.w3schools.com/w3images/hamburger.jpg');
	background-size: cover;
	/* border: 1px solid white; */
	box-sizing: border-box;
}

.about{
	width: 100%;
	height: 800px;
	float: left;
	/* border: 1px solid white; */
	box-sizing: border-box;
}

.about-div{
	width: 50%;
	height: 800px;
	float: left;
	/* border: 1px solid white; */
	box-sizing: border-box;
	padding: 100px;
}


#about-1{
	float: left;
	padding: 0;
	padding-top: 50px;
	padding-bottom: 20px;
	padding-left: 100px;
	padding-right: 0px;
}

#about-2{
	float: right;
	overflow-y: auto;
}

#about-img{
	width: 100%;
	height: 100%;
}

.about-h1{
	width: 100%;
	text-align: center;
	font-size: 35px;
	font-weight: lighter;
}

#about-h3{
	width: 100%;
	text-align: center;
	font-weight: inherit;
	font-size: 20px;
}

.about-p{
	width: 100%;
	line-height: 30px;
	font-size: 18px;
	padding-top: 20px;
	text-align: justify;
}

#menu-box{
	float: left;
	width: 100%;
}

.menu-h3{
	font-weight: lighter;
	word-spacing: 7px;
	letter-spacing: 5px;
	margin-top: 40px;
}

#menu-1{
	float: left;
	overflow-y: auto;
}

#menu-2{
	float: right;
	padding: 0;
	padding-top: 50px;
	padding-bottom: 20px;
	padding-left: 0px;
	padding-right: 100px;
}

.menu-p{
	color: #888;
}

#video-box{
	float: left;
	width: 100%;
	height: auto;
	/* border: 1px solid white; */
	box-sizing: border-box;
	text-align: center;
	padding-top: 100px;
	padding-bottom: 20px;

}

iframe{
	margin: 0 auto;
}

#contact{
	float: left;
	width: 100%;
	height: auto;
	padding-top: 80px;
	padding-bottom: 80px;
	padding-left: 150px;
	padding-right: 150px;
	/* border: 1px solid white; */
	box-sizing: border-box;
}

.contact-h1{
	font-weight: lighter;
	text-align: left;
	margin-bottom: 70px;
}

.contact-p{
	margin-top: 20px;
	line-height: 25px;
}

#contact-p-blue{
	color: #385D8F;
	font-weight: bold;
}

.input-field{
	width: 100%;
	border: none;
	border-bottom: 1px solid #ccc;
	padding: 20px;
	margin-top: 30px;
}

#submit{
	border: none;
	padding: 10px;
	margin-top: 30px;
	background-color: #eee;
}

#footer{
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 80px;
	font-size: 20px;
	float: left;
	background-color: #ddd;
}

a{
	color: red;
	text-decoration: none;
}

@media screen and (max-width: 600px){

	#header{
		width: 100%;
	}
	
	#logo{
		float: left;
		width: 25%;
		box-sizing: border-box;
	}
	
	nav{
		width: 75%;
	}
	
	nav ul{
		float: right;
		width: 100%;
		display: inline;
		box-sizing: border-box;
		overflow-x: auto;
		/* border: 1px sloid green; */
	}
	
	#nav-bar ul li{
		padding: 0;
		margin: 0;
		font-size: 16px;
		margin-top: 20px;
		padding-left: 3px;
		padding-right: 3px;
		box-sizing: border-box;
		border-left: 0.5px groove #fefefe;
		border-bottom: 0.5px ridge #fefefe;
		border-top: 0.5px ridge #fefefe;
	}

	#nav-bar ul li:first-child{
		padding-right: 3px;
		border-right: 0.5px groove #fefefe;
	}
	
	
	#home{
	width: 100%;
	height: 50vh;
	float: left;
	background-image: url('https://www.w3schools.com/w3images/hamburger.jpg');
	background-size: 100% 100%;
		margin-top: 50px;
	/* border: 1px solid white; */
	box-sizing: border-box;
}
	.about{
		display: flex;
		flex-direction: column-reverse;
	}
	
	#menu-box{
		display: flex;
		flex-direction: column;
	}
	
	.about-div{
		width: 100%;
	}
	
	#about-1{
		clear: both;
		width: 100%;
		height: 50%;
		padding: 0;
		padding: 8%;
	}
	
	#about-2{
		clear: both;
		width: 100%;
		height: 50%;
		padding: 0;
		padding: 8%;
		overflow-y: auto;
	}
	
	#menu-1{
		clear: both;
		width: 100%;
		height: 50%;
		padding: 0;
		padding: 8%;
		overflow-y: auto;
	}
	
	#menu-2{
		clear: both;
		width: 100%;
		height: 50%;
		padding: 0;
		padding: 8%;
	}
	
	#video-box{
		width: 100%;
		height: auto;
/* 		padding: 8%; */
		padding: 0;
		margin: 0;
		padding-top: 100px;
	}
	
	iframe{
		width: 80%;
		height: auto;
	}
	
	#contact{
		padding: 0;
		padding: 8%;
	}
	
	.about-h1, .contact-h1{
		padding: 0;
		margin: 0;
		margin-top: 50px;
		text-align: center;
	}
	
	.input-field{
	width: 80%;
	border: none;
	border-bottom: 1px solid #ccc;
	padding: 8%;
	margin-top: 30px;
}
	
}
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................

Console