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

              
                <!-- This is a madeup brand btw and company. But I would def buy from here just because of the coffee cup logo. -->





<!-- BootStrap CSS only -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css" rel="stylesheet">

<!-- JavaScript Bundle with Popper -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/js/bootstrap.bundle.min.js" integrity="sha384-gtEjrD/SeCtmISkJkNUaaKMoLD0//ElJ19smozuHV6z3Iehds+3Ulb9Bn9Plx0x4" crossorigin="anonymous"></script>


<!--Font-->

<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=Chewy&family=DynaPuff:wght@400..700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet">

<!-- Font Awesome -->
<script src="https://kit.fontawesome.com/7ba612e207.js" crossorigin="anonymous"></script>
    
 <!--JQuery CDN-->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>


<!--Java Link-->
<script type="text/javascript" src="jquery-3.6.0.js"></script>


<link rel="stylesheet" href="shop.css">

<script>
    $(document).ready(function() {
      $('.overlay').overlay();
    });
  </script>



</head>

<!--Nav-->

<nav class="navbar navbar-expand-lg navbar-dark fixed-top"  id="mainNav">
    <div class="container px-4">
        <a class="navbar-brand" href=""><img src="https://i.postimg.cc/L8jPRXkN/Coffee-Logo-2.png" alt="Logo" class="logo"></a>
        <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation"><span class="navbar-toggler-icon"></span></button>
        <div class="collapse navbar-collapse " id="navbarResponsive">
            <ul class="navbar-nav ms-auto px-4">
                <li><a class="nav-link" href="about.html">About</a></li>
                <li><a class="nav-link" href="menu.html">Menu</a></li>
                <li><a class="nav-link" href="shop.html">Shop</a></li>
                <li><a class="nav-link" href="contact.html">Contact</a></li>
                <li><i class="fas fa-shopping-bag"></i></li>
            </ul>
        </div>
    </div>
  </nav>    
  
  <!--Nav End-->

  <!--Hero-->
  <div class="hero parallax--bg">
    <div class="container">
    <div class="row justify-content-center">


      <div class="box">
          <div class="title">
              <span class="block"></span>
              
          </div>

      </div>



    </div>
    </div>
    </div>

<!--Hero END-->





<!--shop-->

 <!--Product Row 1 Start-->

<div class="Shop">

    <div class="container mt-5">
        <div class="row">
            <div class="col-lg-4 col-md-6 col-sm-12">
               
              
        <!-- Product Card 1 -->
      
        <div class="p-3">         
        <div class="card h-100">
          <!-- Product Image -->
          <img src="https://i.postimg.cc/mgdZJsMD/5.jpg" class="card-img-top" alt="Product Image">

          <!-- Card Body -->
          <div class="card-body">
            <!-- Product Title -->
            <h5 class="card-title">Budda Beans Coffee</h5>

            <!-- Product Price -->
            <p class="card-text text-muted">$14.99</p>

           

            <!-- Buttons -->
            <div class="d-flex justify-content-between">
              <button class="btn-primary ">Add to Cart</button>
              <button class="btn btn-outline-secondary">View Details</button>
            </div>
          </div>
        </div>
    
              </div>
</div>
          
   <!--Product Card End-->        
          
          
  <!--Product Card 2-->   
          
          
<div class="col-lg-4 col-md-6 col-sm-12">
                <div class="p-3">
                  
                     <div class="card h-100">
          <!-- Product Image -->
          <img src="https://i.postimg.cc/q7zBd5XG/6.jpg" alt="Product Image">

          <!-- Card Body -->
          <div class="card-body">
            <!-- Product Title -->
            <h5 class="card-title">Drip Pot</h5>

            <!-- Product Price -->
            <p class="card-text text-muted">$18.99</p>

          

            <!-- Buttons -->
            <div class="d-flex justify-content-between">
              <button class="btn-primary ">Add to Cart</button>
              <button class="btn btn-outline-secondary">View Details</button>
            </div>
          </div>
        </div>
 </div>
 
            </div>
          
          
 <!--Product Card End-->            
          
          
          
<!--Product Card 3-->     
         
<div class="col-lg-4 col-md-6 col-sm-12">
                <div class="p-3">
                  
                    <div class="card h-100">
          <!-- Product Image -->
          <img src="https://i.postimg.cc/zXrfRp8J/3.jpg" class="card-img-top" alt="Product Image">

          <!-- Card Body -->
          <div class="card-body">
            <!-- Product Title -->
            <h5 class="card-title">French Press</h5>

            <!-- Product Price -->
            <p class="card-text text-muted">$29.99</p>

           

            <!-- Buttons -->
            <div class="d-flex justify-content-between">
              <button class="btn-primary ">Add to Cart</button>
              <button class="btn btn-outline-secondary">View Details</button>
            </div>
          </div>
        </div>
 </div>               
                </div>
          
   <!--Product Row 1 End-->              
          
          
          
          
          
          
            </div>
        </div>
    </div>
  
  
  <!--Product Row End-->







<!--Product Row 2 Start-->

    <div class="container mb-5">
        <div class="row">
            <div class="col-lg-4 col-md-6 col-sm-12">
               
              
        <!-- Product Card 1 -->
      
        <div class="p-3">         
        <div class="card h-100">
          <!-- Product Image -->
          <img src="https://i.postimg.cc/W1VSCRVQ/8.jpg" class="card-img-top" alt="Product Image">

          <!-- Card Body -->
          <div class="card-body">
            <!-- Product Title -->
            <h5 class="card-title">Blue Bottle Coffee</h5>

            <!-- Product Price -->
            <p class="card-text text-muted">$29.99</p>

           

            <!-- Buttons -->
            <div class="d-flex justify-content-between">
              <button class="btn-primary">Add to Cart</button>
              <button class="btn btn-outline-secondary">View Details</button>
            </div>
          </div>
        </div>
    
              </div>
</div>
          
   <!--Product Card End-->        
          
          
  <!--Product Card 2-->   
          
          
<div class="col-lg-4 col-md-6 col-sm-12">
                <div class="p-3">
                  
                     <div class="card h-100">
          <!-- Product Image -->
          <img src="https://i.postimg.cc/g0QzcHgb/7.jpg" class="card-img-top" alt="Product Image">

          <!-- Card Body -->
          <div class="card-body">
            <!-- Product Title -->
            <h5 class="card-title">Coffee Mug</h5>

            <!-- Product Price -->
            <p class="card-text text-muted">$9.99</p>

           

            <!-- Buttons -->
            <div class="d-flex justify-content-between">
              <button class="btn-primary ">Add to Cart</button>
              <button class="btn btn-outline-secondary">View Details</button>
            </div>
          </div>
        </div>
 </div>
 
            </div>
          
          
 <!--Product Card End-->            
          
          
          
<!--Product Card 3-->     
         
<div class="col-lg-4 col-md-6 col-sm-12">
                <div class="p-3">
                  
                    <div class="card h-100">
          <!-- Product Image -->
          <img src="https://i.postimg.cc/pV8TT3NG/2.jpg" class="card-img-top" alt="Product Image">

          <!-- Card Body -->
          <div class="card-body">
            <!-- Product Title -->
            <h5 class="card-title">Coffee Grinder</h5>

            <!-- Product Price -->
            <p class="card-text text-muted">$99.99</p>

            

            <!-- Buttons -->
            <div class="d-flex justify-content-between">
              <button class="btn-primary ">Add to Cart</button>
              <button class="btn btn-outline-secondary">View Details</button>
            </div>
          </div>
        </div>
 </div>               
                </div>
          
   <!--Product Row 2 End-->              
          
          
          
          
          
          
            </div>
        </div>
    </div>
  
  
  <!--Product Row End-->

</div>



<!-- Footer -->
<footer class="text-center text-lg-start text-muted">


    <!-- Section: Links  -->
    <section>
      <div class="container text-center text-md-start mt-5">
        <!-- Grid row -->
        <div class="row mt-3">
          <!-- Grid column -->
          <div class="col-md-3 col-lg-4 col-xl-3 mx-auto mb-4">
            <!-- Content -->
            
            <a href="index.html"><img alt="footer-logo" src="https://i.postimg.cc/yNjxLSB3/Coffee-Logo.png" class="footer-logo"></a>
           
          </div>
          <!-- Grid column -->
  
          <!-- Grid column -->
          <div class="col-md-2 col-lg-2 col-xl-2 mx-auto mb-4">
            <!-- Links -->
            <h6 class="text-uppercase fw-bold mb-4">
              Products
            </h6>
            <p class="footer-link">
              <a href="shop.html" class="text-reset">Shop</a>
            </p>
          
      
          </div>
          <!-- Grid column -->
  
          <!-- Grid column -->
          <div class="col-md-3 col-lg-2 col-xl-2 mx-auto mb-4">
            <!-- Links -->
            <h6 class="text-uppercase fw-bold mb-4">
              Useful links
            </h6>
            <p class="footer-link">
              <a href="about.html" class="text-reset">About</a>
            </p>
            <p class="footer-link">
              <a href="menu.html" class="text-reset">Menu</a>
            </p>
           
           
          </div>
          <!-- Grid column -->
  
          <!-- Grid column -->
          <div class="col-md-3 col-lg-3 col-xl-3 mx-auto mb-md-0 mb-4">
            <!-- Links -->
            <h6 class="text-uppercase fw-bold mb-4">
              Contact
            </h6>
            <p>
              <i class="fas fa-envelope me-3"></i>
              brew@example.com
            </p>
            <p><i class="fas fa-phone me-3"></i> 000.000.000</p>
           
          </div>
          <!-- Grid column -->
        </div>
        <!-- Grid row -->
      </div>
    </section>
    <!-- Section: Links  -->
  
    <!-- Copyright -->
    <div class="text-center p-4" style="background-color: rgba(0, 0, 0, 0.05);">
      <div class="copyright">
      © 2024 Copyright:
      <a class="text-reset fw-bold" href="#">Brew</a>
    </div>
    </div>
     
    <!-- Copyright End -->


  </footer>




  <!-- Footer End-->

              
            
!

CSS

              
                :root {
    --primary:#5203fc;
    --secondary:#171726;
    --yellow:#fffdbf;
  
  }

  
  @import url('https://fonts.googleapis.com/css2?family=Lato:wght@300&family=Merriweather:wght@700&display=swap');


html, body {
    box-sizing: border-box;
    margin: 0 auto;
    font-family: 'Lato', sans-serif;
    width: auto!important; 
    overflow-x: hidden!important;
    overflow-y: scroll; /* has to be scroll*/
    -webkit-overflow-scrolling: touch;
    }
  
  
  
  
  /*Navigation Menu*/

  nav {

background: #5203fc;

  }



  .navbar-nav li a{
    color:white !important;
    font-weight: 400;
    font-size: 14px;
    font-family: "DynaPuff", system-ui;
    font-optical-sizing: auto;
    font-weight: <weight>;
    font-style: normal;
    font-variation-settings:
    "wdth" 100;
    }
  
  
  .navbar-nav li a:hover{
    color:var(--yellow) !important;
    }
  
    .logo {
        width: 60px;
        }


.fa-shopping-bag {
padding-left: 10px;
padding-top: 10px;
color: #F8F4EE;
}





  
/*Navigation End*/



/*Hero*/

.hero {
width: 100%;
height: 600px;
background: url('https://i.postimg.cc/CKPkr2sg/leon-bublitz-q-TEw-RSFBA-4-unsplash.jpg');
background-repeat: no-repeat;
background-position: center;
background-size: cover;
background-attachment: fixed;
text-align: center;
}

.hero .box {
font-family: 'Merriweather', serif;
color: white;
padding-top: 250px;
}

.detail {
font-family: 'Lato', sans-serif;
color: white;
font-weight: 400px;
font-size: 24px;
}

/*Hero End*/



/*Shop*/

.container {
  

  
}

/*Button*/

.btn-primary {
  border-collapse: collapse;
  border-radius: 5px;
  border: 0;
  background-color: #5203fc !important;
}


.card-title {
 font-family: "DynaPuff", system-ui;
    font-optical-sizing: auto;
    font-weight: <weight>;
    font-style: normal;
    font-variation-settings:
    "wdth" 100; 
  
  
}


/*Footer*/

footer {
    background: #3300a1;
    color: #ffffff;
    padding-top: 40px;
    width: 100%;
    }
  
  
    .footer-logo {
    width: 100px;
    }
    
    footer p {
    color: #ffffff;
    font-size: 14px;
    font-family: 'Lato', sans-serif;
    }
    
    
    footer h6 {
    color: #ffffff;
    font-size: 14px;
    font-family: "DynaPuff", system-ui;
    font-optical-sizing: auto;
    font-weight: <weight>;
    font-style: normal;
    font-variation-settings:
    "wdth" 100;
    }
    
    
    .copyright {
    color: #ffffff;
    font-family: 'Lato', sans-serif;
    }
  
  
    .footer-link:hover {
      color: #fffdbf;
      font-family: 'Lato', sans-serif;
    }
  
              
            
!

JS

              
                
              
            
!
999px

Console