Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

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.

+ 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

Auto Save

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

              
                
<!--META TAGS-->
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="description" content="" />
<meta name="keywords" content="" />
<meta name="author" content="" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no" />

<!--FONT AWESOME-->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">

<!--PLUGIN-->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>

<!--GOOGLE FONTS-->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@200;300;400;600;700;900&display=swap" rel="stylesheet"> 


</head>
<body>


<!--DEFAULT HERO BANNER-->
<div class="default-hero-banner">
<section>
SHOP
</section>
</div>


<!--LIST SECTION-->
<div class="list-section">
<div class="left-section">
<section class="column-1">
<h1>Categories</h1>
<a href="#">Savers Range</a>
<a href="#">Deals</a>
<a href="#">Traditional</a>
<a href="#">Premium Traditional</a>
<a href="#">Gourment</a>
<a href="#">Half-Half Range</a>
<a href="#">Pasta</a>
<a href="#">Parmas</a>
</section>
<section class="column-2">
<h1>Beverages</h1>
<a href="#">Ribs</a>
<a href="#">Sides</a>
<a href="#">Drinks</a>
<a href="#">Desserts</a>
<a href="#">Ice Cream</a>
</section>
</div>
<div class="right-section">
<div class="list-cards">
<!--CARD BEGINING-->
<div class="list-card">
<section>
<h1>Deal 1</h1>
<p>2 Small Traditional Pizza, 1 Drink 1.25 Ltr and 1 Garlic </p>
<span class="price">$ 28.30</span>
</section>
<section>
<img src="https://i.ibb.co/H46FFhP/01.jpg" alt="">
<span class="list-category">
<p>Some Information Here...</p>
</span>
</section>
</div>
<!--CARD ENDS-->
<!--CARD BEGINING-->
<div class="list-card">
<section>
<h1>Deal 1</h1>
<p>2 Small Traditional Pizza, 1 Drink 1.25 Ltr and 1 Garlic </p>
<span class="price">$ 28.30</span>
</section>
<section>
<img src="https://i.ibb.co/H46FFhP/01.jpg" alt="">
<span class="list-category">
<p>Some Information Here...</p>
</span>
</section>
</div>
<!--CARD ENDS-->
<!--CARD BEGINING-->
<div class="list-card">
<section>
<h1>Deal 1</h1>
<p>2 Small Traditional Pizza, 1 Drink 1.25 Ltr and 1 Garlic </p>
<span class="price">$ 28.30</span>
</section>
<section>
<img src="https://i.ibb.co/H46FFhP/01.jpg" alt="">
<span class="list-category">
<p>Some Information Here...</p>
</span>
</section>
</div>
<!--CARD ENDS-->
<!--CARD BEGINING-->
<div class="list-card">
<section>
<h1>Deal 1</h1>
<p>2 Small Traditional Pizza, 1 Drink 1.25 Ltr and 1 Garlic </p>
<span class="price">$ 28.30</span>
</section>
<section>
<img src="https://i.ibb.co/H46FFhP/01.jpg" alt="">
<span class="list-category">
<p>Some Information Here...</p>
</span>
</section>
</div>
<!--CARD ENDS-->
<!--CARD BEGINING-->
<div class="list-card">
<section>
<h1>Deal 1</h1>
<p>2 Small Traditional Pizza, 1 Drink 1.25 Ltr and 1 Garlic </p>
<span class="price">$ 28.30</span>
</section>
<section>
<img src="https://i.ibb.co/H46FFhP/01.jpg" alt="">
<span class="list-category">
<p>Some Information Here...</p>
</span>
</section>
</div>
<!--CARD ENDS-->
<!--CARD BEGINING-->
<div class="list-card">
<section>
<h1>Deal 1</h1>
<p>2 Small Traditional Pizza, 1 Drink 1.25 Ltr and 1 Garlic </p>
<span class="price">$ 28.30</span>
</section>
<section>
<img src="https://i.ibb.co/H46FFhP/01.jpg" alt="">
<span class="list-category">
<p>Some Information Here...</p>
</span>
</section>
</div>
<!--CARD ENDS-->
<!--CARD BEGINING-->
<div class="list-card">
<section>
<h1>Deal 1</h1>
<p>2 Small Traditional Pizza, 1 Drink 1.25 Ltr and 1 Garlic </p>
<span class="price">$ 28.30</span>
</section>
<section>
<img src="https://i.ibb.co/H46FFhP/01.jpg" alt="">
<span class="list-category">
<p>Some Information Here...</p>
</span>
</section>
</div>
<!--CARD ENDS-->
<!--CARD BEGINING-->
<div class="list-card">
<section>
<h1>Deal 1</h1>
<p>2 Small Traditional Pizza, 1 Drink 1.25 Ltr and 1 Garlic </p>
<span class="price">$ 28.30</span>
</section>
<section>
<img src="https://i.ibb.co/H46FFhP/01.jpg" alt="">
<span class="list-category">
<p>Some Information Here...</p>
</span>
</section>
</div>
<!--CARD ENDS-->
<!--CARD BEGINING-->
<div class="list-card">
<section>
<h1>Deal 1</h1>
<p>2 Small Traditional Pizza, 1 Drink 1.25 Ltr and 1 Garlic </p>
<span class="price">$ 28.30</span>
</section>
<section>
<img src="https://i.ibb.co/H46FFhP/01.jpg" alt="">
<span class="list-category">
<p>Some Information Here...</p>
</span>
</section>
</div>
<!--CARD ENDS-->
<!--CARD BEGINING-->
<div class="list-card">
<section>
<h1>Deal 1</h1>
<p>2 Small Traditional Pizza, 1 Drink 1.25 Ltr and 1 Garlic </p>
<span class="price">$ 28.30</span>
</section>
<section>
<img src="https://i.ibb.co/H46FFhP/01.jpg" alt="">
<span class="list-category">
<p>Some Information Here...</p>
</span>
</section>
</div>
<!--CARD ENDS-->
<!--CARD BEGINING-->
<div class="list-card">
<section>
<h1>Deal 1</h1>
<p>2 Small Traditional Pizza, 1 Drink 1.25 Ltr and 1 Garlic </p>
<span class="price">$ 28.30</span>
</section>
<section>
<img src="https://i.ibb.co/H46FFhP/01.jpg" alt="">
<span class="list-category">
<p>Some Information Here...</p>
</span>
</section>
</div>
<!--CARD ENDS-->
<!--CARD BEGINING-->
<div class="list-card">
<section>
<h1>Deal 1</h1>
<p>2 Small Traditional Pizza, 1 Drink 1.25 Ltr and 1 Garlic </p>
<span class="price">$ 28.30</span>
</section>
<section>
<img src="https://i.ibb.co/H46FFhP/01.jpg" alt="">
<span class="list-category">
<p>Some Information Here...</p>
</span>
</section>
</div>
<!--CARD ENDS-->
</div>
</div>
</div>



<!--FOOTER-->
<footer>
<div class="footer">
<section>
<h3>Pizza 888</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt.</p>
</section>
<section>
<h3>LINKS</h3>
<a href="#">Home</a>
<a href="#">About Us</a>
<a href="#">Blog</a>
<a href="#">Contact Us</a>
</section>
<section>
<h3>OTHER</h3>
<a href="#">Privacy Policy</a>
<a href="#">Terms & Conditions</a>
<a href="#">Cookie Policy</a>
</section>
<section>
<h3>ANY QUESTIONS?</h3>
<a href="emailto:support@websitename.com"><span><i class="fa fa-envelope"></i></span><span>support@websitename.com</span></a>
<a href="tel:xxxxxxxxx"><span><i class="fa fa-phone"></i></span><span>(+x)-xxx-xxxx-xxxxx</span></a>
</section>
</div>
</footer>
<div class="sub-footer">
Copyright ©2021 All rights reserved | website name
</div>


<!--ADDITIONAL-->
<a href="#" id="roll_back" class="animate"><i class="fa fa-angle-up"></i></a>

              
            
!

CSS

              
                /*CUSTOM SCROLL BAR*/
*,html{
scroll-behavior: smooth;
}
*, *:after, *:before {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
:root{
scrollbar-color: rgb(210,210,210) rgb(46,54,69) !important;
scrollbar-width: thin !important;
--white:#fff;
--black:#000;
--darkgreen:#24572c;
--darkyellow:#eb922a;
--darkred:#9e1414;
--litegreen:#62c08b;
--dark:#242426;
--gray:#5e6f77;
}
::-webkit-scrollbar {
height: 12px;
width: 8px;
background: var(--dark);
}
::-webkit-scrollbar-thumb {
background: gray;
-webkit-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.75);
}
::-webkit-scrollbar-corner {
background: var(--dark);
}










/*DEFAULT*/
body{
margin:0;
overflow-x:hidden !important;
font-family: 'Source Sans Pro', sans-serif;
background-color:#f7f7f7;
}

a{
text-decoration:none;
}

a, li, button, input, textarea, select{
outline:none !important;
}

a, button{
transition:0.5s;
}

li{
list-style:none;
}

em{
font-style:normal;
color:var(--primary);
}

p{
line-height:1.8em;
letter-spacing:0.08em;
color:var(--gray);
}

fieldset{
border:0;
}

.btn1, .btn2{
display:inline-block;
text-align:center;
padding:15px 30px;
}

.btn1{
background-color:transparent;
border:2px solid var(--white);
border-radius:40px;
color:var(--white);
}

.btn1:hover{
background-color:var(--white);
color:var(--darkgreen);
}

.btn2{
background-color:var(--litegreen);
color:var(--white);
}

.btn2:hover{
background-color:var(--darkgreen);
}

.title_header{
width:60%;
text-align:center;
margin:auto;
}

.title_header h1{
line-height:1;
}

.title_header em{
color:var(--darkred);
font-weight:600;
}

@media (max-width:920px){
.title_header{
width:100%;
padding:1rem;
}
}










/*STYLES FOR SHOP PAGE*/
/*LIST*/
.default-hero-banner{
width:100%;
background-image:url("https://i.ibb.co/DgRMWdv/default-bg.jpg");
background-size:cover;
background-attachment:fixed;
}

.default-hero-banner section{
padding:5rem;
text-align:center;
color:var(--white);
font-size:1.6em;
}




/*LIST SECTION*/
.list-section{
width:100%;
display:flex;
align-items:top;
padding:4rem 0;
}

.list-section .left-section, .list-section .right-section{
width:100%;
padding:2rem 1rem;
}

.list-section .left-section{
width:30%;
}

.list-section .left-section .column-1, .list-section .left-section .column-2{
width:100%;
margin:auto;
padding:1rem;
background-color:var(--darkyellow);
margin-bottom:10px;
padding:1rem;
border-radius:10px;
position:sticky;
top:-15%;
z-index:11;
}

.list-section .left-section .column-2{
top:40%;
z-index:1;
}

.list-section .left-section .column-1 a,.list-section .left-section .column-2 a{
color:var(--black);
}

.list-section .left-section .column-1 a:not(:first-child),.list-section .left-section .column-2 a:not(:first-child){
padding:0.5rem;
border-bottom:1px solid rgba(1,1,1,0.1);
display:block;
}

.list-section .left-section .column-1 a:hover,.list-section .left-section .column-2 a:hover{
color:var(--white);
}

.list-cards{
width:100%;
display:flex;
align-items:top;
flex-wrap: wrap;

}

.list-cards .list-card{
width:45%;
margin:10px;
border:1px solid rgba(1,1,1,0.1);
border-radius:5px;
overflow:hidden;
padding:0;
background-color:var(--white);
display:flex;
align-items:top;
}

.list-cards .list-card:nth-child(1),.list-cards .list-card:nth-child(2){
margin-top:0;
}

.list-cards .list-card section{
width:100%;
position:relative;
overflow:hidden;
}

.list-cards .list-card section:nth-child(1){
padding:0.5rem 1rem;
}

.list-cards .list-card section img{
width:100%;
height:100%;
object-fit:cover;
}

.list-cards .list-card section p{
line-height:1.4em;
font-size:13px;
}

.list-cards .list-card section .price{
font-size:1.3em;
}

.list-category{
background-color:rgba(1,1,1,0.7);
display:block;
width:100%;
height:100%;
position:absolute;
left:-100%;
top:0;
padding:1rem 2rem;
transition:0.5s;
}

.list-category p{
color:var(--white);
}

.list-cards .list-card:hover  .list-category{
left:0%;
}


@media (max-width:920px){
.list-section{
display:block;
}
.list-section .left-section{
width:100%;
}
.list-section .left-section .column-1 a:not(:first-child),.list-section .left-section .column-2 a:not(:first-child){
padding:0.5rem 0rem;
border-bottom:0px solid rgba(1,1,1,0.1);
display:inline-block;
}
.list-section .left-section .column-1 a:after,.list-section .left-section .column-2 a:after{
content:"";
font-family:"FontAwesome";
display:inline-block;
margin:0 10px;
}
}

@media (max-width:640px){
.list-cards .list-card{
width:100%;
margin:10px 0;
}
}




















/*FOOTER*/
.footer{
background-color:var(--dark);
width:100%;
display:flex;
align-items:top;
padding:5rem 0;
}

.footer section{
padding:1rem 2rem;
width:100%;
vertical-align:top;
}

.footer section h3{
color:var(--white);
}

.footer section a{
color:var(--gray);
display:flex;
align-items:center;
white-space:nowrap;
margin:15px 0;
}

.footer section a:hover{
color:var(--white);
}

.footer section:nth-child(2) a:before,.footer section:nth-child(3) a:before{
content:"";
font-family:"FontAwesome";
margin-right:5px;
color:var(--white);
}

.footer section a span{
margin:0 10px;
}

.sub-footer{
background-color:var(--black);
text-align:Center;
color:var(--gray);
padding:1rem 0;
}

@media (max-width:1020px){
.footer{
display:block;
}
.footer section{
padding:1rem 1rem;
}
.footer section:nth-child(2), .footer section:nth-child(3){
width:49%;
display:inline-block;
}
}


              
            
!

JS

              
                
              
            
!
999px

Console