How to make website using HTML CSS & BOOTSTRAP | Full responsive website

Source Code


Images Link

video:- How to make website using HTML CSS & BOOTSTRAP | Full responsive website

 


HTML CODE


<!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">

  <!-- 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=Baloo+Bhaijaan+2:wght@400;500;600&family=Poppins:wght@400;500;600;700;800&display=swap" rel="stylesheet">
  <!-- font awesome -->
  <link rel="stylesheet" href="https://pro.fontawesome.com/releases/v5.10.0/css/all.css" integrity="sha384-AYmEC3Yw5cVb3ZcuHtOA93w35dYTsvhLPVnYs9eStHfGJvOvKxVfELGroGkvsg+p" crossorigin="anonymous"/>
  <!-- bootstrap cdn -->
  <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
  <!-- style css -->
  <link rel="stylesheet" href="style.css">
  <title>panda e-commerce</title>
</head>
<body>
  <!-- header section start -->
  <header>
    <nav class="navbar navbar-expand-lg navbar-light bg-white fixed-top">
      <div class="container">
        <a class="navbar-brand" href="#">
          <img src="images/logo.png" alt="">
        </a>
        <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
          <span class="navbar-toggler-icon"></span>
        </button>


        <div class="collapse navbar-collapse text-center navigation" id="navbarSupportedContent">

          <form class="d-flex searchForm">
            <input class="form-control searchInput me-2" type="search" placeholder="Search" aria-label="Search">
            <div class="searchIcon"><i class="fas fa-search"></i></div>
          </form>

          <ul class="navbar-nav ms-auto mb-2 mb-lg-0">
            <li class="nav-item">
              <a class="nav-link active fs-5" aria-current="page" href="#">Home</a>
            </li>
            <li class="nav-item">
              <a class="nav-link fs-5" href="#">Shoe</a>
            </li>
            <li class="nav-item">
              <a class="nav-link fs-5" href="#">Backpack</a>
            </li>
            <li class="nav-item">
              <a class="nav-link fs-5" href="#">Subscribe</a>
            </li>
          </ul>
        </div>
      </div>
    </nav>
  </header>
  <!-- header section end -->



  <!-- main section start -->

  <!-- banner section start -->
  <div class="bannerSection mt-5">
    <div class="container">
      <div id="carouselExampleIndicators" class="carousel slide" data-bs-ride="carousel">
        <div class="carousel-indicators">
          <button type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide-to="0" class="active" aria-current="true" aria-label="Slide 1"></button>
          <button type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide-to="1" aria-label="Slide 2"></button>
          <button type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide-to="2" aria-label="Slide 3"></button>
        </div>
        <div class="carousel-inner">
          <!--  -->
          <div class="carousel-item active py-5">
            <div class="row gy-5 justify-content-center align-items-center">
              <div class="col-lg-7 text-center">
                <div class="bannerInfo">
                  <h1 class="fw-bold">Mi LED TV 4A PRO 32</h1>
                  <p class="my-4">your text</p>
                  <div class="buyButton d-inline-block py-2 px-5 rounded text-white text-uppercase">buy now</div>
                </div>
              </div>
              <div class="col-lg-5 d-flex justify-content-center">
                <img src="images/banner-images/tv.png" class="bannerImg" alt="...">
              </div>
            </div>
          </div>
          <!--  -->
          <!--  -->
          <div class="carousel-item py-5">
            <div class="row gy-5 justify-content-center align-items-center">
              <div class="col-lg-7 text-center">
                <div class="bannerInfo">
                  <h1 class="fw-bold">Mi LED TV 4A PRO 32</h1>
                  <p class="my-4">your text</p>
                  <div class="buyButton d-inline-block py-2 px-5 rounded text-white text-uppercase">buy now</div>
                </div>
              </div>
              <div class="col-lg-5 d-flex justify-content-center">
                <img src="images/banner-images/headphone.png" class="bannerImg" alt="...">
              </div>
            </div>
          </div>
          <!--  -->
          <!--  -->
          <div class="carousel-item py-5">
            <div class="row gy-5 justify-content-center align-items-center">
              <div class="col-lg-7 text-center">
                <div class="bannerInfo">
                  <h1 class="fw-bold">Mi LED TV 4A PRO 32</h1>
                  <p class="my-4">your text</p>
                  <div class="buyButton d-inline-block py-2 px-5 rounded text-white text-uppercase">buy now</div>
                </div>
              </div>
              <div class="col-lg-5 d-flex justify-content-center">
                <img src="images/banner-images/xbox.png" class="bannerImg" alt="...">
              </div>
            </div>
          </div>
          <!--  -->
        </div>
        <button class="carousel-control-prev" type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide="prev">
          <div class="bannerArrow">
            <i class="fas fa-arrow-left "></i>
          </div>
          <span class="visually-hidden">Previous</span>
        </button>
        <button class="carousel-control-next" type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide="next">
          <div class="bannerArrow">
            <i class="fas fa-arrow-right "></i>
          </div>
          <span class="visually-hidden">Next</span>
        </button>
      </div>
    </div>
  </div>
  <!-- banner section end -->

  <!-- categories section start -->
  <div class="categoriesSection py-5">
    <div class="container">
      <h1 class="categoriesTitle mb-4">Categories</h1>
      <div class="row justify-content-center gy-4">
        <!--  -->
        <div class="col-lg-4 col-md-6  col-12">
          <div class="category watchCategory d-flex justify-content-center align-items-center rounded">
            <h3 class="categoryTitle me-3">Watch</h3>
            <img src="images/categories/watch.png" alt="" class="categoryImg">
          </div>
        </div>
        <!--  -->
        <!--  -->
        <div class="col-lg-4 col-md-6  col-12">
          <div class="category watchCategory shoeCategory d-flex justify-content-center align-items-center rounded">
            <h3 class="categoryTitle me-3">Shoe</h3>
            <img src="images/categories/shoes.png" alt="" class="categoryImg">
          </div>
        </div>
        <!--  -->
        <!--  -->
        <div class="col-lg-4 col-md-6 col-12">
          <div class="category watchCategory bagCategory d-flex justify-content-center align-items-center rounded">
            <h3 class="categoryTitle me-3">Bag</h3>
            <img src="images/categories/bag.png" alt="" class="categoryImg">
          </div>
        </div>
        <!--  -->
      </div>
    </div>
  </div>
  <!-- categories section end -->

  <!-- shoe and backpack section start -->
  <div class="shoeBackpack py-5">
    <div class="container">
      <!-- shoe section start -->
      <div class="text-center">
        <h1 class="categoriesTitle mb-4">Shoe</h1>
      </div>
      <div class="row g-3 justify-content-center pb-5">
        <div class="col-lg-4 col-md-6 col-12">
          <div class="card">
            <img src="images/shoes/shoe-1.png" class="shoeImg" alt="">
            <div class="card-body">
              <h4 class="card-title">Reebook Pump</h4>
              <p class="card-title my-3">
                your text
              </p>
              <div class="text-center"><h5>$99</h5></div>
            </div>
            <div class="text-center">
              <div class="buyButton fw-bold text-white py-2 text-uppercase rounded-bottom">buy now</div>
            </div>
          </div>
        </div>
        <div class="col-lg-4 col-md-6 col-12">
          <div class="card">
            <img src="images/shoes/shoe-2.png" class="shoeImg" alt="">
            <div class="card-body">
              <h4 class="card-title">Reebook Pump</h4>
              <p class="card-title my-3">
                your text
              </p>
              <div class="text-center"><h5>$99</h5></div>
            </div>
            <div class="text-center">
              <div class="buyButton fw-bold text-white py-2 text-uppercase rounded-bottom">buy now</div>
            </div>
          </div>
        </div>
        <div class="col-lg-4 col-md-6 col-12">
          <div class="card">
            <img src="images/shoes/shoe-3.png" class="shoeImg" alt="">
            <div class="card-body">
              <h4 class="card-title">Reebook Pump</h4>
              <p class="card-title my-3">
                your text
              </p>
              <div class="text-center"><h5>$99</h5></div>
            </div>
            <div class="text-center">
              <div class="buyButton fw-bold text-white py-2 text-uppercase rounded-bottom">buy now</div>
            </div>
          </div>
        </div>
      </div>
      <!-- shoe section end -->

      <!-- Backpack section start -->
      <div class="text-center mt-5">
        <h1 class="categoriesTitle mb-4">Backpack</h1>
      </div>
      <div class="row g-3 justify-content-center">
        <div class="col-lg-4 col-md-6 col-12">
          <div class="card">
            <img src="images/bags/bag-1.png" class="shoeImg" alt="">
            <div class="card-body">
              <h4 class="card-title">Ison Backpack</h4>
              <p class="card-title my-3">
                your text
              </p>
              <div class="text-center"><h5>$199</h5></div>
            </div>
            <div class="text-center">
              <div class="buyButton fw-bold text-white py-2 text-uppercase rounded-bottom">buy now</div>
            </div>
          </div>
        </div>
        <div class="col-lg-4 col-md-6 col-12">
          <div class="card">
            <img src="images/bags/bag-2.png" class="shoeImg" alt="">
            <div class="card-body">
              <h4 class="card-title">Ison Backpack</h4>
              <p class="card-title my-3">
                your text
              </p>
              <div class="text-center"><h5>$199</h5></div>
            </div>
            <div class="text-center">
              <div class="buyButton fw-bold text-white py-2 text-uppercase rounded-bottom">buy now</div>
            </div>
          </div>
        </div>
        <div class="col-lg-4 col-md-6 col-12">
          <div class="card">
            <img src="images/bags/bag-3.png" class="shoeImg" alt="">
            <div class="card-body">
              <h4 class="card-title">Ison Backpack</h4>
              <p class="card-title my-3">
                your text
              </p>
              <div class="text-center"><h5>$199</h5></div>
            </div>
            <div class="text-center">
              <div class="buyButton fw-bold text-white py-2 text-uppercase rounded-bottom">buy now</div>
            </div>
          </div>
        </div>
      </div>
      <!-- backpack section end -->
    </div>
  </div>
  <!-- shoe and backpack section end -->

  <!-- subscribe section start -->
  <div class="subscribeSection py-5">
    <div class="container">
      <div class="row">
        <div class="col">
          <div class="subscribeInfo text-center">
            <h3 class="fw-bold text-uppercase">let's stay in touch</h3>
            <p class="fs-4">Get updates on sells specials and more</p>
          </div>

          <div class="subscribeInput mt-5">
            <input class="inputEmail" type="email" placeholder="Email">
            <div class="text-center">
              <div class="buyButton InputSendButton fw-bold text-white px-5 d-inline-block">Send</div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
  <!-- subscribe section end -->

  <!-- main section end -->

  <!-- footer section start -->
  <footer>
    .<div class="container">
        <div class="row">
            <div class="col text-center">
              <p>&copy 2022 codewithme. All rights reserved</p>
            </div>
        </div>
    </div>
  </footer>
  <!-- footer section end -->



  <!-- bootstrap js cdn -->
  <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
</body>
</html>



CSS CODE

body {
  font-family: 'Poppins', sans-serif;
  /* font-family: 'Baloo Bhaijaan 2', cursive; */
}


/* header section start */
.searchForm {
  position: relative;
}

.searchInput {
  width: 350px;
  height: 45px;
  border-color: #0d6efd;
  border-radius: 30px;
}
.searchInput:focus {
  box-shadow: none;
}

.searchIcon {
  position: absolute;
  right: 30px;
  bottom: 9px;
}
.searchIcon i {
  color: rgba(0, 0, 0, .4);
  transition: all .5s ease;
}

.searchForm:hover .searchIcon i {
  transform: scale(1.6);
}

.navbar-nav li a {
  font-family: 'Baloo Bhaijaan 2', cursive;
}
.navbar-nav li a.active {
  text-decoration: underline;
}
/* header section end */


/* banner section start */
.bannerSection {
  background-color: #feeae9;
}


.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #FF589B;
}


.carousel-indicators .active {
  animation: indicators 1s infinite;
}

@keyframes indicators {
  0% {
    transform: scale(1.4);
  }
  25% {
    transform: scale(1.3);
  }
  50% {
    transform: scale(1.1);
  }
  75% {
    transform: scale(1.3);
  }
  100% {
    transform: scale(1.4);
  }
}


.bannerImg {
  width: 300px;
}
.bannerInfo h1 {
  font-size: 45px;
}

.bannerInfo p {
  font-size: 16px;
  width: 400px;
  margin: 0 auto;
  font-family: 'Baloo Bhaijaan 2', cursive;
}

.buyButton{
  background: linear-gradient(180deg, #FF589B -0.01%, #FF136F 99.99%);
  cursor: pointer;
}



.carousel-control-next, .carousel-control-prev {
  width: 10%;
}
.bannerArrow {
  width: 30px;
  height: 30px;
  line-height: 30px;
  border-radius: 50%;
  box-shadow: 0 1px 6px 0 rgb(0, 0, 0);
}

.bannerArrow i {
  color: #FF589B;
  font-size: 14px;
  animation: bannerArrow 1s infinite;
}

@keyframes bannerArrow {
  0% {
    transform: scale(1.4);
  }
  25% {
    transform: scale(1.3);
  }
  50% {
    transform: scale(1.1);
  }
  75% {
    transform: scale(1.3);
  }
  100% {
    transform: scale(1.4);
  }
}
/* banner section end */

/* categories section start */
.watchCategory {
  background: linear-gradient(152.07deg, #FF9C35 1.47%, #FFD019 97.17%);
  cursor: pointer;
}
.watchCategory:hover .categoryTitle {
  text-decoration: underline;
}

.categoryImg {
  width: 150px;
  transition: all .6s ease;
}
.watchCategory:hover .categoryImg {
  transform: scale(1.1) rotate(360deg);
}

.shoeCategory {
  background: linear-gradient(170.41deg, #4289FF -10.89%, #3F07F8 92.77%);
}

.bagCategory {
  background: linear-gradient(180deg, #FF589B -0.01%, #FF136F 99.99%);
}
/* categories section end */

/* shoe and backpack section start */
.shoeBackpack {
  background-color: #f7f7f7;
}
/* shoe section start */
.shoeImg {
  width: 280px;
  margin: 0 auto;
  transition: all .5s ease;
}
.card:hover .shoeImg {
  transform: scale(1.1) rotate(10deg);
}


.card-title {
  font-family: 'Baloo Bhaijaan 2', cursive;
  line-height: 20px;
}
/* shoe section end */
/* shoe and backpack section end */


/* Subscribe section start */
.subscribeSection {
  background-color: #feeae9;
}

.subscribeInput {
  position: relative;
  width: 600px;
  margin: 0 auto;
}

.inputEmail {
  width: 600px;
  padding: 10px 20px;
  border-radius: 30px;
  outline: none;
  border: 1px solid #FF136F;
}

.InputSendButton {
  position: absolute;
  right: -22px;
  bottom: 0px;
  padding: 12px 0;
  border-radius: 30px;
}
/* Subscribe section end */








@media screen and (max-width: 991.99px) {
  /* header section start */
  .navigation {
    margin-top: 20px;
  }
  .searchInput {
    width: 100%;
  }
  /* header section end */


  /* banner section start */
  .bannerInfo h1 {
    font-size: 35px;
  }

  /* subscribe section start */
  .subscribeInput {
    width: 100%;
  }
 
  .inputEmail {
    width: 100%;
  }
 
  .InputSendButton {
    position: inherit;
    margin-top: 15px;
  }
  /* subscribe section end */
}


note

/*

linear-gradient(152.07deg, #FF9C35 1.47%, #FFD019 97.17%);

linear-gradient(180deg, #FF589B -0.01%, #FF136F 99.99%);

linear-gradient(170.41deg, #4289FF -10.89%, #3F07F8 92.77%);

linear-gradient(180deg, #FF589B -0.01%, #FF136F 99.99%);



*/