HTML preprocessors can make writing HTML more powerful or convenient. For instance, Markdown is designed to be easier to write and read for text documents and you could write a loop in Pug.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. So you don't have access to higher-up elements like the <html>
tag. If you want to add classes there that can affect the whole document, this is the place to do it.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. If you need things in the <head>
of the document, put that code here.
The resource you are linking to is using the 'http' protocol, which may not work when the browser is using https.
CSS preprocessors help make authoring CSS easier. All of them offer things like variables and mixins to provide convenient abstractions.
It's a common practice to apply CSS to a page that styles elements such that they are consistent across all browsers. We offer two of the most popular choices: normalize.css and a reset. Or, choose Neither and nothing will be applied.
To get the best cross-browser support, it is a common practice to apply vendor prefixes to CSS properties and values that require them to work. For instance -webkit-
or -moz-
.
We offer two popular choices: Autoprefixer (which processes your CSS server-side) and -prefix-free (which applies prefixes via a script, client-side).
Any URLs 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 its URL and the proper URL extension.
You can apply CSS to your Pen from any stylesheet on the web. Just put a URL to it here and we'll apply it, in the order you have them, before the CSS in the Pen itself.
You can also link to another Pen here (use the .css
URL Extension) and we'll pull the CSS from that Pen and include it. If it's using a matching preprocessor, use the appropriate URL Extension and we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
JavaScript preprocessors can help make authoring JavaScript easier and more convenient.
Babel includes JSX processing.
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.
You can apply a script from anywhere on the web to your Pen. Just put a URL to it here and we'll add it, in the order you have them, before the JavaScript in the Pen itself.
If the script you link to has the file extension of a preprocessor, we'll attempt to process it before applying.
You can also link to another Pen here, and we'll pull the JavaScript from that Pen and include it. If it's using a matching preprocessor, we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
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.
Using packages here is powered by esm.sh, which makes packages from npm not only available on a CDN, but prepares them for native JavaScript ESM usage.
All packages are different, so refer to their docs for how they work.
If you're using React / ReactDOM, make sure to turn on Babel for the JSX processing.
If active, Pens will autosave every 30 seconds after being saved once.
If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.
If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.
Visit your global Editor Settings.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<script src="https://kit.fontawesome.com/c711e910eb.js" crossorigin="anonymous"></script>
<title>italiankitchen.com</title>
</head>
<body>
<div>
<nav class="shadow">
<div class="nav-bar">
<div class="logo-container">
<img src="https://media-cdn.tripadvisor.com/media/photo-s/1b/6d/8d/ed/let-s-eat-logo.jpg" alt="" class="logo"/>
</div>
</div>
<div>
<ul class="nav-options">
<li class="nav-li">Menu</li>
<li class="nav-li"> Join Waitlist</li>
<li class="nav-li">Catering</li>
<li class="nav-li">Login</li>
</ul>
</div>
<div class="icon-container">
<i class="fa-solid fa-bars"></i>
</div>
</nav>
<div class="pagetwo">
<h1> The Comfort <br/> You Crave </h1>
<img src="https://media.olivegarden.com/images/site/ext/pages/_promotions/specials/never-ending-pasta-bowl/og-never-ending-pasta-bowl-logo-092122.png" class="foodlogo"/>
<button> Order Now </button>
</div>
<div class="pagethree">
<h1> ENJOY OUR <br/>
EVERY DAY SPECIALS</h1>
<div>
<p>
Family-Style Meals · $18 Wine Bottles* · $6 Take Homes* ·
<br/>
Lunch-Sized Favorites · Italian-Inspired Cocktails
</p>
</div>
<button> Learn More </button>
</div>
<div class="pagefourContainer">
<h1>Menu Highlights</h1>
<div class="pagefour">
<div class="img1 shadow-lg">
<p> Family Style Meals</p>
<button class="view-more-btn">View More</button>
</div>
<div class="img2 shadow-lg">
<p> Appetizer</p>
<button>View More</button>
</div>
<div class="img3 shadow-lg">
<p> Classic <br/> Entrees</p>
<button>View More</button>
</div>
<div class="img4 shadow-lg">
<p> Create your <br/> own Pasta</p>
<button>View More</button>
</div>
<div class="img5 shadow-lg">
<p> Desserts </p>
<button>View More</button>
</div>
<div class="img6 shadow-lg">
<p> Non-Alcoholic Beverages</p>
<button>View More</button>
</div>
</div>
</div>
<div class="pagefive">
<div class="containerfive">
<img src="https://media.olivegarden.com/images/site/ext/pages/_promotions/home/join_our_family.svg" alt="">
<h1> Join Our Family</h1>
<button>View Careers </button>
</div>
<div class="containerfive">
<img src="https://media.olivegarden.com/images/site/ext/pages/_promotions/home/eclub.svg" alt="">
<h1> eCLUB: SIGN UP <br/>
FOR NEWS & OFFERS
</h1>
<button>Sign Up </button>
</div>
<div class="containerfive">
<img src="https://media.olivegarden.com/images/site/ext/pages/_promotions/home/giftcard-green.svg" alt="">
<h1> GIFT CARDS</h1>
<button>Learn More</button>
</div>
</div>
<div class="pagesix">
<h1> Join our eClub for <br/> news and offers! </h1>
<div>
<input type="text" placeholder="Zipcode"/>
<input type="email" placeholder="Email Address"/>
</div>
<button> Submit </button>
</div>
<div class="pageseven">
<div class="seven-container">
<h1>ABOUT</h1>
<p> Contact Us </p>
<p> About Olive Garden </p>
<p> Nutritional & Allergens </p>
<p> Careers </p>
<p> Community </p>
<p> FAQs </p>
<p> Press </p>
<p> International Franchising</p>
</div>
<div class="seven-container">
<h1> GIFT CARDS & OFFERS </h1>
<p> Buy Gift Cards </p>
<p> Check Gift Card Balances </p>
<p> Specials</p>
</div>
<div class="seven-container">
<h1> ORDERING </h1>
<p> Order To Go </p>
<p> My Account </p>
<p> Lookup Order</p>
<p> Order History</p>
<p> Locations </p>
</div>
</div>
<footer>
<p>Sitemap |
Legal Notices |
Privacy Notice |
Do Not Sell Data Request |
Accessibility Statement </p>
<p> © 2022 Henry Lancaster, Inc. All rights reserved.</p>
</footer>
</div>
</body>
</html>
@import url('https://fonts.googleapis.com/css2?family=Bree+Serif&family=Concert+One&family=Gabriela&family=Libre+Franklin:wght@500&family=Lobster&family=Open+Sans:wght@500&family=Pacifico&family=Roboto:wght@300;500&family=Varela+Round&display=swap');
*{
box-sizing: border-box;
color:rgb(255, 255, 255);
font-family: "Varela Round";
}
body{
margin: 0px;
background-color: rgb(255, 255, 255);
min-height: 100vh;
}
h1{
text-align: center;
}
nav{
height: 3em;
width: 100vw;
background-color: gold;
display: flex;
flex-direction: row;
justify-content: space-between;
padding: 5px;
padding-right: 20px;
}
.logo{
height: 2rem;
}
.icon{
height: 1.5rem;
background-color: olive;
}
.nav-bar{
display: flex;
flex-direction: row;
}
.icon-container{
margin-top: 10px;
width: 10px;
margin-right: 15px;
margin-left: 15px;
}
.icon-container i{
color: olive;
}
.nav-options{
display: flex;
flex-direction: row;
list-style-type: none;
}
.nav-li{
font-size: 15px;
margin-top: 7px;
margin-left: 20px;
margin-right: 5px;
color: rgb(48, 24, 14);
font-weight: 500;
}
.pagetwo button{
padding: 15px;
width: 10rem;
border-radius: 15px;
margin-top: 1.5rem;
background-color: rgba(0, 0, 0, 0.6);
border: solid 3px #fff;
color: #fff;
font-weight: 700;
font-family: "Varela Round";
}
.pagetwo button:hover{
background-color: rgba(255, 251, 251);
color: rgb(0, 0, 0);
}
.pagetwo h1{
border-radius: 20px;
padding: 20px;
margin-top: 1.5rem;
font-weight: 700;
font-size: 3.5em;
}
.foodlogo{
height: 7rem;
width: 6rem;
border-radius: 150px;
}
.pagetwo{
background-color: rgb(24, 24, 24, 0.5);
background-image: url("https://media.istockphoto.com/id/1227415751/photo/full-table-of-italian-meals-on-plates-pizza-pasta-ravioli-carpaccio-caprese-salad-and-tomato.jpg?s=612x612&w=0&k=20&c=0qCRhYGQw0w6ahhVX-4ezayA9r81A81cwbPDbgRlC5s=");
background-size: cover;
min-height: 100vh;
width: 100vw;
color: #fff;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
color:rgb(255, 255, 255);
font-family: "Pacifio";
}
.pagethree{
background-image: url("https://fondue.bg/wp-content/uploads/2019/09/italiancuisine.jpg");
min-height: 90vh;
min-width: 100vw;
background-size: cover;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
color:rgb(255, 255, 255);
font-family: "Pacifio";
}
.pagethree h1{
font-weight: 700;
}
.pagethree p{
font-weight: 700;
font-size: 1rem;
text-align: center;
margin-top: 2rem;
margin-bottom: 2rem;
}
.pagethree button{
padding: 15px;
width: 10rem;
border-radius: 15px;
margin-top: 1.5rem;
background-color: rgba(0, 0, 0, 0.6);
border: solid 3px #fff;
color: #fff;
font-weight: 700;
}
.pagethree button:hover{
background-color: rgb(255, 255, 255);
color: rgb(0, 0, 0);
}
.pagefour{
background-color: rgb(255, 255, 255);
min-height: 100vh;
width: 100vw;
text-align: center;
padding: 2rem;
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
}
.pagefourContainer{
background-color: rgb(255, 255, 255);
}
.pagefourContainer h1{
color: olive;
font-size: 2rem;
font-weight: bolder;
}
.img1{
background-image: url("https://previews.123rf.com/images/elenades/elenades1603/elenades160300080/53193139-pasta-fettuccine-alfredo-with-chicken-parmesan-and-parsley-on-white-background-close-up-italian-cuis.jpg");
border-radius: 25px;
height: 17rem;
width: 22rem;
background-size: cover;
display: flex;
flex-direction: column;
justify-content: flex-end;
align-items: flex-end;
padding: 20px;
padding-right: 35px;
margin: 10px;
}
.img1 p{
background-color: rgba(255, 255, 255, 0.39);
border-radius: 10px;
color: rgb(46, 46, 0);
font-weight: bold;
font-size: 1.6rem;
text-align: end;
width: 100%;
}
.img1 button{
width: 8rem;
border-radius: 10px;
background-image: linear-gradient(to left, rgb(109, 109, 0), rgb(44, 44, 0));
border: solid 0px olive;
color: #fff ;
font-weight: 700;
}
.pagefour h1{
text-align: center;
font-weight: 900;
}
.img2{
background-image: url("https://cookingwithmammac.com/wp-content/uploads/2022/10/Bruschetta-Italian-Appetizer-Recipe-Photo.jpg");
border-radius: 25px;
height: 17rem;
width: 28rem;
background-size: cover;
display: flex;
flex-direction: column;
justify-content: flex-end;
align-items: flex-end;
padding: 20px;
padding-right: 35px;
margin: 10px;
}
.img2 p{
background-color: rgba(255, 255, 255, 0.39);
border-radius: 10px;
color: rgb(46, 46, 0);
font-weight: bold;
font-size: 1.6rem;
text-align: end;
width: 100%;
}
.img2 button{
width: 8rem;
border-radius: 10px;
background-image: linear-gradient(to left, rgb(109, 109, 0), rgb(44, 44, 0));
border: solid 0px olive;
color: #fff ;
font-weight: 700;
}
.img3{
background-image: url("https://media.istockphoto.com/id/184637819/photo/ravioli-with-tomato-sauce.jpg?s=612x612&w=0&k=20&c=0wfNqYXteoSlahPKrKQ-KQuAeuHiEKJPWwpIOlCdGXg=");
border-radius: 25px;
height: 17rem;
width: 25rem;
background-size: cover;
display: flex;
flex-direction: column;
justify-content: flex-end;
align-items: flex-end;
padding: 20px;
padding-right: 35px;
margin: 10px;
}
.img3 p{
background-color: rgba(255, 255, 255, 0.39);
border-radius: 10px;
color: rgb(46, 46, 0);
font-weight: bold;
font-size: 1.6rem;
text-align: end;
width: 100%;
}
.img3 button{
width: 8rem;
border-radius: 10px;
background-image: linear-gradient(to left, rgb(109, 109, 0), rgb(44, 44, 0));
border: solid 0px olive;
color: #fff ;
font-weight: 700;
}
.img4{
background-image: url("https://www.tuscanigrill.com/wp-content/uploads/2016/01/4-1-2.jpg");
border-radius: 25px;
height: 17rem;
width: 25rem;
background-size: cover;
display: flex;
flex-direction: column;
justify-content: flex-end;
align-items: flex-end;
padding: 20px;
padding-right: 35px;
margin: 10px;
}
.img4 p{
background-color: rgba(255, 255, 255, 0.39);
border-radius: 10px;
color: rgb(46, 46, 0);
font-weight: bold;
font-size: 1.6rem;
text-align: end;
width: 100%;
}
.img4 button{
width: 8rem;
border-radius: 10px;
background-image: linear-gradient(to left, rgb(109, 109, 0), rgb(44, 44, 0));
border: solid 0px olive;
color: #fff ;
font-weight: 700;
}
.img5{
background-image: url("https://www.moralberti.com/_assests/prodotti/take-away/take-away-biporzione-cheesecake-panna-cotta-e-lampone.Big.jpg");
border-radius: 25px;
height: 17rem;
width: 28rem;
background-size: cover;
display: flex;
flex-direction: column;
justify-content: flex-end;
align-items: flex-end;
padding: 20px;
padding-right: 35px;
margin: 10px;
}
.img5 p{
background-color: rgba(255, 255, 255, 0.39);
border-radius: 10px;
color: rgb(46, 46, 0);
font-weight: bold;
font-size: 1.6rem;
text-align: end;
width: 100%;
}
.img5 button{
width: 8rem;
border-radius: 10px;
background-image: linear-gradient(to left, rgb(109, 109, 0), rgb(44, 44, 0));
border: solid 0px olive;
color: #fff ;
font-weight: 700;
}
.img6{
background-image: url("https://www.remodelaholic.com/wp-content/uploads/2016/07/DSC_0478.jpg");
border-radius: 25px;
height: 17rem;
width: 22rem;
background-size: cover;
display: flex;
flex-direction: column;
justify-content: flex-end;
align-items: flex-end;
padding: 20px;
padding-right: 35px;
margin: 10px;
}
.img6 p{
background-color: rgba(255, 255, 255, 0.39);
border-radius: 10px;
color: rgb(46, 46, 0);
font-weight: bold;
font-size: 1.6rem;
text-align: end;
width: 100%;
}
.img6 button{
width: 8rem;
border-radius: 10px;
background-image: linear-gradient(to left, rgb(109, 109, 0), rgb(44, 44, 0));
border: solid 0px olive;
color: #fff ;
font-weight: 700;
}
.pagefive{
display: flex;
flex-direction: row;
justify-content: space-evenly;
align-items: center;
padding: 7em;
background-color: rgb(241, 251, 236);
}
.pagefive h1{
color: olive;
font-size: 1em;
font-weight: bolder;
margin: 1.25em;
}
.containerfive{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin: 3em;
}
.pagefive button{
border: solid 2px olive;
background-color: transparent;
width: 10rem;
padding: 9px;
color: olive;
border-radius: 1rem;
font-weight: bold;
}
.pagesix{
background-color: rgb(43, 6, 6);
padding: 4rem;
display: flex;
flex-direction: row;
justify-content: space-evenly;
align-items: center;
}
.pagesix h1{
font-size: 1.3rem;
margin: 1rem;
}
.pagesix input{
width: 9rem;
text-align: center;
padding: 0.25rem;
border-radius: 9px;
color:rgba(0, 0, 0, 0.6);
}
.pagesix button{
width: 7rem;
text-align: center;
padding: 0.25rem;
border-radius: 9px;
background-color: #fff;
color: rgb(101, 85, 85);
border-width: 0px;
font-weight: bolder;
margin: 1rem;
}
.pageseven{
background-color: rgb(255, 254, 224);
padding: 0.25rem;
display: flex;
flex-direction: row;
justify-content: space-evenly;
align-items: flex-start;
}
.seven-container{
display: flex;
flex-direction: column;
justify-content: space-evenly;
text-align: center;
margin: 2em;
}
.seven-container h1{
font-weight: bold;
color: rgb(97, 97, 0);
margin-bottom: 1em;
margin: 1.5em;
font-size: 1.20rem;
font-weight: bolder;
}
.seven-container p{
font-weight: 600;
color: olive;
font-size: 0.90rem;
}
footer{
background-color: rgb(32, 2, 2);
padding: 1em;
font-size: 0.70em;
text-align: center;
}
video{
width: 100vw;
}
.overlay {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
.overlay h2 {
background: #000 none repeat scroll 0 0;
color: tan;
font-weight: 600;
margin: 2rem 3rem 0;
mix-blend-mode: overlay;
padding: 5px 15px;
text-align: center;
}
.nav-li{
padding:6px;
}
.nav-li:hover{
background-color: rgb(237, 186, 0);
color: rgb(0, 0, 0);
border-radius: 10px;
}
@media screen and (max-width: 992px){
.nav-options{
display: none;
}
}
@media screen and (max-width: 768px){
nav{
height: 3.8em;
background-color: rgb(250, 251, 173);
align-self: center;
justify-content: space-between;
}
.icon-container{
display: inline;
flex-direction: row;
align-self: start;
}
.nav-options{
display: none;
}
.pagefive{
flex-direction: column;
}
.img1{
width: 22em;
}
.img2{
width: 22em;
}.img3{
width: 22em;
}.img4{
width: 22em;
}.img5{
width: 22em;
}.img6{
width: 22em;
}
.pagesix{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.pageseven{
flex-direction: column;
align-items: center;
}
.pagetwo h1{
font-size: 2rem;
}
}
@media screen and (min-width: 992px){
nav{
height: 2.6em;
background-color: rgb(250, 251, 173);
}
.icon-container{
display: none;
}
}
.pagetwo button:hover{
}
Also see: Tab Triggers