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 name="description" content="Your description goes here" />
<meta name="keywords" content="one, two, three" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Cuisine Restaurant Website</title>
<!-- external CSS link -->
<link rel="stylesheet" href="css/normalize.css" />
<link rel="stylesheet" href="css/style.css" />
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link
href="https://fonts.googleapis.com/css2?family=Yeseva+One&display=swap"
rel="stylesheet"
/>
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link
href="https://fonts.googleapis.com/css2?family=Montserrat:wght@200;300;400&display=swap"
rel="stylesheet"
/>
<link
rel="stylesheet"
href="https://use.fontawesome.com/releases/v5.15.1/css/all.css"
integrity="sha384-vp86vTRFVJgpjF9jiIGPEEqYqlDwgyBgEF109VFjmqGmIY/Y4HV4d3Gp2irVfcrp"
crossorigin="anonymous"
/>
</head>
<body>
<header class="clearfix">
<nav>
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">About Us</a></li>
<li><a href="#">Menu</a></li>
<li><a href="#">Order Now</a></li>
<li><a href="#">Blog</a></li>
<li><a href="#">Location</a></li>
<li>
<a href="#"><i class="fas fa-shopping-cart fa-2x"></i></a>
</li>
<li>
<a href="#"><i class="fas fa-search fa-2x"></i></a>
</li>
</ul>
</nav>
<section>
<h1 class="clear">Welcome to Our Cuisine Restaurant</h1>
<input
class="clear"
type="text"
name=""
id=""
placeholder="Search here"
/><button>Location ▼</button>
<div class="socialMediaInfo">
<i class="fab fa-facebook-f fa-2x"> <span> 252k</span></i>
<i class="fab fa-twitter fa-2x"><span> 62k</span></i>
<i class="fab fa-instagram fa-2x"><span> 55k</span></i>
</div>
</section>
</header>
<section class="aboutUs clearfix">
<h3>About us</h3>
<h2>Discover Our Restaurant Story</h2>
<p>
Cuisine is a team work of Cuisine Restaurant Cafe, we aim at promoting
the foodstuff industry through the branches, we establish and through
the new dishes, and integrate between different cultures. Lorem ipsum
dolor sit amet consectetur adipisicing elit. Enim quis, accusantium eum
voluptate porro culpa sequi ratione aperiam ipsa omnis minima ipsum
atque? Voluptatem in totam dolorum, corrupti error sint.
</p>
<p>
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Repellendus
vitae ducimus mollitia, sequi aliquid, voluptas pariatur possimus, in
tempora necessitatibus accusamus quos.
</p>
<button>Discover Menu ⇾</button>
</section>
<section class="orderOnline clearfix">
<h3>Order Online Now</h3>
<h2>Our Specialty Cuisine</h2>
<ul>
<li class="selected">Breakfast</li>
<li>Launch</li>
<li>Dinner</li>
<li>Dessert</li>
<li>Shake</li>
</ul>
<div class="thumbnails">
<img
src="https://images.unsplash.com/photo-1522322420883-600684d7f9f1?ixlib=rb-1.2.1&ixid=MXwxMjA3fDB8MHxzZWFyY2h8MTB8fGZvb2QlMjBwbGF0ZXxlbnwwfHwwfA%3D%3D&auto=format&fit=crop&w=500&q=60"
alt="Breakfast meal 1"
/>
<img
src="https://images.unsplash.com/photo-1513442542250-854d436a73f2?ixlib=rb-1.2.1&ixid=MXwxMjA3fDB8MHxzZWFyY2h8MTA0fHxmb29kJTIwcGxhdGV8ZW58MHx8MHw%3D&auto=format&fit=crop&w=500&q=60"
alt="Breakfast meal 2"
/>
<img
src="https://images.unsplash.com/photo-1455853739633-8c94c03d8121?ixlib=rb-1.2.1&ixid=MXwxMjA3fDB8MHxzZWFyY2h8OTZ8fGZvb2QlMjBwbGF0ZXxlbnwwfHwwfA%3D%3D&auto=format&fit=crop&w=500&q=60"
alt="Breakfast meal 3"
/>
<img
src="https://images.unsplash.com/photo-1504382262782-5b4ece78642b?ixlib=rb-1.2.1&ixid=MXwxMjA3fDB8MHxzZWFyY2h8MTQ4fHxmb29kJTIwcGxhdGV8ZW58MHx8MHw%3D&auto=format&fit=crop&w=500&q=60"
alt="Breakfast meal 4"
/>
<img
src="https://images.unsplash.com/photo-1546069901-d5bfd2cbfb1f?ixlib=rb-1.2.1&ixid=MXwxMjA3fDB8MHxzZWFyY2h8MjIyfHxlZ2clMjBkaXNofGVufDB8fDB8&auto=format&fit=crop&w=500&q=60"
alt="Breakfast meal 5"
/>
<img
src="https://images.unsplash.com/photo-1604908550665-327363165423?ixlib=rb-1.2.1&ixid=MXwxMjA3fDB8MHxzZWFyY2h8MTIwfHxmb29kJTIwYm93bHxlbnwwfHwwfA%3D%3D&auto=format&fit=crop&w=500&q=60"
alt="Breakfast meal 6"
/>
<img
src="https://images.unsplash.com/photo-1432139555190-58524dae6a55?ixlib=rb-1.2.1&ixid=MXwxMjA3fDB8MHxzZWFyY2h8MTF8fGZvb2R8ZW58MHx8MHw%3D&auto=format&fit=crop&w=500&q=60"
alt="Breakfast meal 7"
/>
<img
src="https://images.unsplash.com/photo-1529042355636-0f06afe127a9?ixlib=rb-1.2.1&ixid=MXwxMjA3fDB8MHxzZWFyY2h8NzV8fGZvb2QlMjBwbGF0ZXxlbnwwfHwwfA%3D%3D&auto=format&fit=crop&w=500&q=60
"
alt="Breakfast meal 8"
/>
</div>
</section>
<section class="bookTable clearfix">
<h3>Book Table</h3>
<h2>Opening Hours</h2>
<img
class="call clear"
src="https://i.imgur.com/eq8yU3v.png"
alt="Call Now"
/>
<p class="days clear">Call Now</p>
<p class="phoneNumber clear">+12345 678 910</p>
<div class="openHours">
<p class="days">Monday to Tuesday</p>
<p class="hours">09:00 am - 22:00 pm</p>
</div>
<div class="openHours">
<p class="days">Friday to Sunday</p>
<p class="hours">11:00 am - 20:00 pm</p>
</div>
<img
class="video"
src="https://i.imgur.com/1Wx6tuU.png"
alt="A delicious fruit parfait"
/>
</section>
<section class="testimonials clearfix">
<h3>Testimonials</h3>
<h2>Customers Say</h2>
<img
class="customer"
src="https://images.unsplash.com/photo-1590548408498-39459ab4f486?ixlib=rb-1.2.1&ixid=MXwxMjA3fDB8MHxzZWFyY2h8NDZ8fG1hbiUyMGZhY2V8ZW58MHx8MHw%3D&auto=format&fit=crop&w=500&q=60"
alt="John Smith, a satisfied customer"
/>
<p>Mr John Smith</p>
<span>Art Director</span>
<img
class="rating"
src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAeYAAABoCAMAAAATgKPhAAAAn1BMVEX+/v790EP////90ET///v///r///370EP///f///T///P///H///b7z0T//f///+3//+n50Ez//eT40E//+9v30Vf302D++NX55Jn34JD++ND40lr313H334v//eX33IT31Wn777j32Xb988P66KP77LP//tv57K388r751Wb63H7+9Mr48Mv157Dx0W755J/s2Jfr1IPqznj27ML567pvC2BzAAARhElEQVR4nO1dCZuiPBIWgYBNR+QUUVtE/bxmp3d3vv//2zYXN5IocXdmoZ6nZ/qwy0q99VYqRZKeTEcZgEymk1H+72WEeRAywjwIGWEehIwwD0JGmAchI8yDkBHmQcgI8yBkhHkQMsI8CBlhHoSMMA9CRpgHISPMg5AR5kHIHwEzyP8Hna/7A2XOBjV/79v8ATDLhlaqPk2Cjv9C7P5XYH5zqD4nYKLJ8au8Ub3fP2+HWXKoohTXV+NcoleljA7IU/VI3s9m0BsX6oK5jPyINc0RneUgDT61flRkAJufUszpkDfDjMcx+2H31oN8qVE1EgDSf/U3iIj1D79f7FGYzV97XYY5HfJ+NmuHnxcZo3B/Hq1Jb5jxr7vJeSbBoIm2DLcyFLm31JWgpkveD/PiBm8SRmEenfWyZ46kMotg2JOFVKxv6C213gaZJ8c763hg75ue3wgzNVrfB4pzNievlz7k1zQ/NGAkI9lqy7UCv63eegDAirb9FbmpYWzeTOd3s3m6SKGibP6a9OIhwBRUlHXcmztgYq2gYoRxD+awmhKRWVGCuO+EZJ48RfGO752d3wczcgYunPZoEIpzNMn3XgYJU1BR4Ko/nfU4MBTFiHqzECyvqqL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8ImJgM66FPDI74OBpWewDboYZD0fLpiVgBYp2hf5yBDIdom0pn/MUwO/q73YZaWpcz27JvI/ySJTzOhrHi9p/z+uUBbpbGadRezTkivIxh98/Qck602uV7UDU+Oke1vP51+yGWi2jDA8GLitxQ14nV01CB1kkA4q+8SsGEWeSnJwxG1GA59AqUInOS1q5s9wkqFvk3QpwvOCT+/Rgk54dM3yPVOojECTEqTlu+QrwmTDrNMr+Zz0stAbTNPs+46UGgavq02jBdFmv8iSYAWeFYGH3DXOM4gUTjhcFs10qtkHYpBqbLg1mH7BORWBjCnYUPSxXK1JxAQcRdMfZPUNw6M/a9wOBT58VH3gPjvtav+2SXt2wyBvTm773KIvDjfkV8jb34M72kauJpPcISheyAzg8ZeXn6jQNhDIVU3EMMwtZNAOr9OCL96Nr7h0Up0rQmfStkNEs2MCtNdJQ4BmNQcvHKKlpdUGRT+3lt8hhEpwYdWIHJHd7LQ3Cov31roVzUDuHgHN+8tUqNDOQK4NNrtHYHHfetDh/aEJgAptrMl/PElQoL1ltyJyTycMozgrN9qAvq/WhtO1ZwKFh36CMFjF9sNXASuOQhicNLrhV45Ihhn4m+Tot2+ezsR097sbh4b2NYOm6tV5MXINwRP8zSt4gLtOkaYHxGAXybiH7fUHbyulvU2iR+hksYeA/vmre0VlfQfbuw1qCFa+AHYc/ZS7opKdtO1fy0c1CMj/1d0fnJ6g9bdv1gwDjS8Qo794ztDsv0m4dEE4n4DFklvMzX7FVvdL8E0Wts+Zm2c/DgtuNgb20td+3y1/yK2akD7OizSdo4Y6YDrlO0IXayfx72IH2CTu+815w9f0/AKDDi2TqdzLO3/Pv8YOmj5oG7BQtP9WfyP8fyW/J8yjSJYR5kHICPMgZIR5EDLCPAgZYR6EjDAPQkaYByEjzIOQEeZByAjzIGSEeRAywjwIGWEehIwwD0JGmAchI8yDkBHmQQiCeZQByH8A5cYc00BViysAAAAASUVORK5CYII="
alt="Five Stars"
/>
<p>
Delicious boneless, skinless chicken breasts and fresh mushrooms in
garlic and white wine sauce. Cuisine is a team work of Cuisine
Restaurant Cafe. we aim at promoting the foodstuff industry through the
brances, we establish and through the new dishes.
</p>
</section>
<footer class="clearfix">
<div>
<img
class="diviLogo"
src="https://user-images.githubusercontent.com/69649840/100657145-ac623300-3302-11eb-8bab-f1e45b327a69.png"
alt="Divi Cuisine Logo"
/>
<p class="tagline">
Just like a perfectly baked pastry, we created Cuisine with special
love and it shows.
</p>
</div>
<div>
<h4>Open Hours</h4>
<p>Mon-Fri: 9 AM - 6 PM</p>
<p>Saturday: 9 AM - 4 PM</p>
<p>Sunday: Closed</p>
</div>
<div>
<h4>Contact Us</h4>
<p>176 W street name, New York, NY 10014</p>
<p>Email: info@yoursite.com</p>
<p>Telephone: +1(800)123-4566</p>
</div>
<div class="subscribe">
<h4>Subscribe Newsletter</h4>
<input
type="email"
name="email"
id="email"
placeholder="Email Address"
/><i class="fas fa-paper-plane fa-2x"></i>
</div>
<div class="copyright clear">
<span>2020© Cuisine Restaurant | Design by Mithum Ray</span>
<i class="fab fa-facebook-f fa-2x"> </i>
<i class="fab fa-twitter fa-2x"></i>
<i class="linkedIn fab fa-linkedin-in"></i>
<i class="fab fa-instagram fa-2x"></i>
</div>
</footer>
<script type="text/javascript" src="js/main.js"></script>
</body>
</html>
/* Box Model Hack */
* {
box-sizing: border-box;
/* outline: 1px solid; */
}
/* Clear fix hack */
.clearfix:after {
content: ".";
display: block;
clear: both;
visibility: hidden;
line-height: 0;
height: 0;
}
.clear {
clear: both;
}
/******************************************
/* BASE STYLES
/*******************************************/
html {
font-size: 62.5%;
}
body {
margin: 1% 3%;
font-family: "Montserrat", sans-serif;
color: black;
}
/******************************************
/* LAYOUT
/*******************************************/
header {
width: 100%;
height: fit-content;
background-image: url(https://media.discordapp.net/attachments/735930780655681558/781390400845119518/cuisine-hero.png?width=915&height=468);
background-repeat: no-repeat;
background-position-x: right;
background-size: cover;
}
nav {
display: inline-block;
width: 100%;
}
nav ul {
padding-left: 38vw;
margin-top: 1%;
}
nav li,
.logo {
width: 10%;
list-style: none;
float: left;
font-size: 1.2em;
}
nav ul li {
float: left;
width: fit-content;
margin: 0 2vw;
}
nav a {
text-decoration: none;
color: black;
}
ul img {
width: 2vw;
border-radius: 30%;
}
footer {
width: 100%;
height: fit-content;
background: rgb(242, 246, 247);
padding-left: 5%;
}
/******************************************
/* ADDITIONAL STYLES
/*******************************************/
.logo,
header input,
h1,
.socialMediaInfo {
margin-left: 8vw;
}
header input {
width: 30em;
height: 3.2vw;
border: 1px solid lightgray;
font-size: 1.6em;
margin-bottom: 2vw;
position: relative;
}
header button {
height: 3vw;
color: white;
background-color: rgb(255, 136, 0);
border: 1px solid transparent;
border-radius: 0.3em;
text-align: center;
font-size: 1.2em;
}
header i.fab {
color: rgb(255, 136, 0);
margin-right: 2em;
margin-bottom: 1em;
}
i.fab span {
font-size: 1.3rem;
color: black;
font-family: "Montserrat", sans-serif;
font-weight: bold;
}
.aboutUs {
width: 100%;
height: fit-content;
background-image: linear-gradient(
90deg,
rgba(226, 223, 223, 0.1),
rgba(226, 223, 223, 0)
),
url(https://media.discordapp.net/attachments/735930780655681558/781390427432681472/cusine-about.png?width=911&height=468);
background-repeat: no-repeat;
background-size: cover;
background-position: 0;
}
.aboutUs h3,
.aboutUs h2,
.aboutUs p,
.aboutUs button {
margin-left: 40%;
margin-right: 25%;
}
.aboutUs p {
font-size: 1.3em;
line-height: 1.5;
padding-bottom: 1em;
background-color: transparent;
}
.aboutUs button {
color: white;
padding: 0.8em;
background: linear-gradient(
90deg,
rgb(255, 136, 0) 83%,
rgb(255, 171, 77) 17%
);
border: 1px solid transparent;
border-radius: 0.3em;
text-align: center;
font-size: 1.2em;
margin-bottom: 3em;
}
.orderOnline {
width: 100%;
height: fit-content;
background-color: rgb(242, 246, 247);
text-align: center;
}
.orderOnline ul {
border-bottom: 1px solid gray;
width: 50%;
margin: auto;
}
.orderOnline li {
font-size: 1.6em;
display: inline-block;
margin-right: 3em;
text-align: center;
margin-bottom: 0.6em;
}
.thumbnails {
margin-top: 4em;
padding: 3em 5%;
}
.thumbnails img {
width: 15vw;
height: 20vw;
margin: 1.6em;
}
.bookTable {
width: 100%;
height: fit-content;
text-align: center;
background-image: linear-gradient(
180deg,
rgb(255, 255, 255) 30%,
rgba(247, 242, 242, 0.3)
),
url(https://images.unsplash.com/photo-1602632066350-4206c806ebdb?ixlib=rb-1.2.1&ixid=MXwxMjA3fDB8MHxzZWFyY2h8MzM3fHx3aGl0ZSUyMG11Z3N8ZW58MHx8MHw%3D&auto=format&fit=crop&w=500&q=60);
background-repeat: no-repeat;
background-size: cover;
background-position: 0;
}
.days {
font-size: 1.3em;
}
.hours {
font-size: 2.2em;
font-family: "Yeseva One", cursive;
}
.phoneNumber {
font-size: 2.4em;
color: rgb(255, 136, 0);
font-family: "Yeseva One", cursive;
text-align: center;
margin: auto;
}
div.openHours {
display: inline;
width: 50%;
float: left;
height: fit-content;
}
.selected {
color: rgb(255, 136, 0);
}
img.video {
width: 70vw;
height: 40vw;
margin-bottom: 4em;
}
img.call {
width: 7vw;
display: block;
margin: auto;
padding-bottom: 2em;
}
.testimonials {
width: 100%;
height: fit-content;
text-align: center;
margin-bottom: 3em;
}
img.rating {
width: 20%;
margin: auto;
display: block;
}
img.customer {
border-radius: 50%;
height: 11vw;
width: 11vw;
margin: auto;
}
.customer + p {
font-size: 3em;
font-weight: 600;
}
.testimonials span {
font-size: 1.4em;
color: gray;
}
.testimonials p:last-of-type {
font-size: 2em;
margin: 1.5em 15%;
line-height: 1.7;
color: rgb(99, 96, 96);
}
footer div {
float: left;
width: 20%;
margin: 1.5em;
}
footer .diviLogo {
width: 15vw;
}
footer p {
font-size: 1.5rem;
}
.subscribe {
width: 30%;
position: relative;
}
.subscribe input {
width: 17vw;
height: 3.2em;
border-radius: 4px;
font-size: 1.4em;
padding-left: 1vw;
border: 1px solid gainsboro;
box-shadow: 1px 16px 30px 1px rgb(223, 221, 221);
}
.subscribe i {
position: absolute;
left: 14vw;
padding-top: 0.8vw;
color: rgb(255, 136, 0);
}
.copyright {
display: flex;
flex-direction: row;
justify-content: flex-end;
align-items: center;
width: 90%;
border-top: 1px solid gainsboro;
}
.copyright img {
margin-right: 2em;
padding-top: 1.3em;
}
.copyright span {
margin-left: 0;
padding-right: 60em;
}
.copyright i{
color: rgb(255, 136, 0);
border: 1px solid rgb(255, 136, 0);
border-radius: 50%;
padding: 0.5em;
font-size: 2em;
color: rgb(255, 136, 0);
margin-right: 1em;
margin-top: 1rem;
}
h1,
h2,
h4 {
font-family: "Yeseva One", cursive;
background-color: transparent;
}
h1 {
font-size: 6.2em;
width: 45vw;
}
h2 {
font-size: 5em;
}
h3 {
font-size: 1.6em;
color: rgb(255, 136, 0);
padding-top: 3em;
}
h4 {
font-size: 2.5em;
}
@media screen and (max-width: 650px) {
nav {
display: none;
}
h1 {
font-size: 3.5em;
color: black;
padding-top: 1em;
}
input {
width: 10vw;
padding: 0.6em;
}
.aboutUs::before {
width: 100%;
height: fit-content;
background-image: url(https://media.discordapp.net/attachments/735930780655681558/781390427432681472/cusine-about.png?width=911&height=468);
background-repeat: no-repeat;
background-size: cover;
background-position: 0;
opacity: 0.2;
}
.aboutUs h3,
.aboutUs h2,
.aboutUs p,
.aboutUs button {
margin: 2%;
padding: 0;
}
h2 {
font-size: 2.5rem;
}
.aboutUs p {
color: rgb(15, 15, 15);
font-weight: bold;
text-shadow: 3px 4px 10px rgb(245, 244, 243);
background: rgba(255, 255, 255, 0.7);
}
div.openHours {
width: 100%;
}
.aboutUs button {
padding: 0.5em;
}
.thumbnails img {
width: 100%;
height: fit-content;
}
footer div,
div.subscribe {
width: 100%;
}
img.diviLogo,
.tagline {
width: 80%;
text-align: center;
}
input#email {
width: 80%;
}
.subscribe i {
position: absolute;
left: 70%;
padding-top: 2vw;
color: rgb(255, 136, 0);
}
div.copyright {
width: 90%;
}
}
}
Also see: Tab Triggers