Hướng dẫn ecommerce website using html css and bootstrap - trang web thương mại điện tử sử dụng html css và bootstrap

Show

Hướng dẫn ecommerce website using html css and bootstrap - trang web thương mại điện tử sử dụng html css và bootstrap

Làm thế nào để tạo ra một thiết kế web đáp ứng cho Thương mại điện tử.

Đặt điểm dừng thích hợp. ....knowledge of HTML, CSS and Bootstrap before starting this project. You will learn to create eCommerce website Home page design, product page design, single product details page design, Blog Page design, Add to cart page design etc.

Bắt đầu với một lưới chất lỏng. ....

  1. Xem xét sử dụng màn hình cảm ứng. ....
  2. Sử dụng hình ảnh đáp ứng. ....
  3. Thực hiện kiểu chữ đáp ứng. ....
  4. Sử dụng một chủ đề đáp ứng trước. ....

Kiểm tra khả năng đáp ứng web ..
▶️ HTML
▶️ CSS
▶️ JavaScript
▶️ Bootstrap

Học cách tạo trang web thương mại điện tử hiện đại với HTML, CSS và Bootstrap.
Here is the tutorial for this ecommerce website!

Sẽ thật tuyệt nếu bạn có kiến ​​thức cơ bản về HTML, CSS và Bootstrap trước khi bắt đầu dự án này. Bạn sẽ học cách tạo trang web thương mại điện tử Thiết kế trang chủ, thiết kế trang sản phẩm, thiết kế trang chi tiết sản phẩm, thiết kế trang blog, thêm vào thiết kế trang giỏ hàng, v.v.

Những gì bạn sẽ học

Phát triển trang web đáp ứng

Trang web thương mại điện tử Thiết kế Frontend

Phần 3: Trang web thương mại điện tử HTML CSS | Tạo trang web chi tiết sản phẩm thương mại điện tử bằng cách sử dụng HTML CSS JavaScript.

Chúng tôi đã tạo trang danh sách sản phẩm bằng cách sử dụng HTML CSS và Bootstrap. Nhưng không có một trang chi tiết sản phẩm, trang web của chúng tôi sẽ không hoàn thành. Đó là lý do tại sao chúng tôi sẽ tạo một trang chi tiết sản phẩm duy nhất. Để khách hàng của chúng tôi có thể thấy một số mô tả về một sản phẩm cụ thể. Sau đó, chúng tôi phải làm cho trang web của chúng tôi đáp ứng với các thiết bị di động và máy tính bảng.

Phần 4: Trang web thương mại điện tử HTML CSS - Thiết kế trang blog cho trang web Thương mại điện tử.

Nếu bạn thêm một số bài đăng trên blog về sản phẩm của bạn trong trang web của bạn. Sau đó, nó sẽ chính hãng hơn. Bây giờ hãy tạo một trang bài đăng trên blog cho trang web của chúng tôi. Chúng tôi sẽ thêm hình ảnh blog và tiêu đề blog. Sau đó, chúng tôi sẽ làm cho trang này phản hồi quá.

Phần 5: Trang Giỏ hàng Phản hồi E Commerce trong HTML CSS JavaScript | Trang web thương mại điện tử HTML CSS.

Nếu khách hàng mua sản phẩm từ trang web của bạn hoặc nhấp vào nút Thêm vào giỏ hàng từ sản phẩm. Sau đó, sản phẩm đó sẽ được lưu trong trang Thêm vào giỏ hàng. Đó là lý do tại sao chúng ta phải tạo một trang Thêm vào giỏ hàng.

Bạn có thể sử dụng điều này để tìm hiểu phát triển web hoặc cho danh mục đầu tư của bạn.

Kiểm tra các bài viết khác của tôi -

Bài viết không còn có sẵn


Bài viết không còn có sẵn


Bài viết không còn có sẵn


Bài viết không còn có sẵn

Vui lòng truy cập kênh YouTube của tôi: @tech2etc
@Tech2etc

Theo dõi tôi trên Instagram nơi tôi đang chia sẻ rất nhiều tài nguyên hữu ích! @fahimulkabir.chowdhury
@fahimulkabir.chowdhury 😉

Xin chào, hôm nay trong bài viết này, chúng tôi sẽ học cách tạo một trang web thương mại điện tử bằng HTML, CSS và JS. Đây là một phần của trang web thương mại điện tử đầy đủ. Trong phần này, chúng tôi sẽ chỉ tạo giao diện người dùng của trang phía trước. Chúng tôi sẽ tạo 4 trang trong hướng dẫn này - trang chủ, trang sản phẩm, trang tìm kiếm và trang 404.

Để xem bản demo hoặc bạn muốn video hướng dẫn mã hóa đầy đủ để hiểu rõ hơn. Bạn có thể xem hướng dẫn dưới đây.

Video hướng dẫn

Tôi đánh giá cao nếu bạn có thể hỗ trợ tôi bằng cách đăng ký kênh YouTube của tôi.

Mã số

Bạn có thể thấy bên dưới, cấu trúc thư mục dự án của chúng tôi.

Hướng dẫn ecommerce website using html css and bootstrap - trang web thương mại điện tử sử dụng html css và bootstrap

Tải xuống hình ảnh, nhận mã nguồn

Vì vậy, hãy bắt đầu mã hóa.

Trang chủ

Viết mẫu HTML 5 cơ bản trong

.links-container{
    width: 100%;
    display: flex;
    padding: 10px 10vw;
    justify-content: center;
    list-style: none;
    border-top: 1px solid #d1d1d1;
}

.link{
    text-transform: capitalize;
    padding: 0 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #383838;
    opacity: 0.5;
    transition: .5s;
}

.link:hover{
    opacity: 1;
}
3. Và liên kết tệp
.links-container{
    width: 100%;
    display: flex;
    padding: 10px 10vw;
    justify-content: center;
    list-style: none;
    border-top: 1px solid #d1d1d1;
}

.link{
    text-transform: capitalize;
    padding: 0 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #383838;
    opacity: 0.5;
    transition: .5s;
}

.link:hover{
    opacity: 1;
}
4 với tệp
.links-container{
    width: 100%;
    display: flex;
    padding: 10px 10vw;
    justify-content: center;
    list-style: none;
    border-top: 1px solid #d1d1d1;
}

.link{
    text-transform: capitalize;
    padding: 0 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #383838;
    opacity: 0.5;
    transition: .5s;
}

.link:hover{
    opacity: 1;
}
5. Bây giờ, tạo Navbar.

 class="navbar">
 class="nav">
    

Và làm các phong cách liên quan đến Navbar bên trong

.links-container{
    width: 100%;
    display: flex;
    padding: 10px 10vw;
    justify-content: center;
    list-style: none;
    border-top: 1px solid #d1d1d1;
}

.link{
    text-transform: capitalize;
    padding: 0 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #383838;
    opacity: 0.5;
    transition: .5s;
}

.link:hover{
    opacity: 1;
}
9.

 class="links-container">
     class="link-item"> href="#" class="link">home
     class="link-item"> href="#" class="link">women
     class="link-item"> href="#" class="link">men
     class="link-item"> href="#" class="link">kids
     class="link-item"> href="#" class="link">accessories

Nhập chế độ FullScreenen EXIT Mode FullScreen

Mở tệp

.links-container{
    width: 100%;
    display: flex;
    padding: 10px 10vw;
    justify-content: center;
    list-style: none;
    border-top: 1px solid #d1d1d1;
}

.link{
    text-transform: capitalize;
    padding: 0 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #383838;
    opacity: 0.5;
    transition: .5s;
}

.link:hover{
    opacity: 1;
}
4. Và bên trong nó trước khi bắt đầu kiểu dáng. Vì chúng ta sẽ có cùng một thanh navbar và chân trang trong tất cả các trang. Tôi đã nghĩ đến việc làm cho phong cách của họ như một tập tin riêng biệt. Vì vậy, nhập tệp
.links-container{
    width: 100%;
    display: flex;
    padding: 10px 10vw;
    justify-content: center;
    list-style: none;
    border-top: 1px solid #d1d1d1;
}

.link{
    text-transform: capitalize;
    padding: 0 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #383838;
    opacity: 0.5;
    transition: .5s;
}

.link:hover{
    opacity: 1;
}
7 bên trong
.links-container{
    width: 100%;
    display: flex;
    padding: 10px 10vw;
    justify-content: center;
    list-style: none;
    border-top: 1px solid #d1d1d1;
}

.link{
    text-transform: capitalize;
    padding: 0 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #383838;
    opacity: 0.5;
    transition: .5s;
}

.link:hover{
    opacity: 1;
}
4.

.links-container{
    width: 100%;
    display: flex;
    padding: 10px 10vw;
    justify-content: center;
    list-style: none;
    border-top: 1px solid #d1d1d1;
}

.link{
    text-transform: capitalize;
    padding: 0 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #383838;
    opacity: 0.5;
    transition: .5s;
}

.link:hover{
    opacity: 1;
}

Nhập chế độ FullScreenen EXIT Mode FullScreen

Mở tệp
.links-container{
    width: 100%;
    display: flex;
    padding: 10px 10vw;
    justify-content: center;
    list-style: none;
    border-top: 1px solid #d1d1d1;
}

.link{
    text-transform: capitalize;
    padding: 0 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #383838;
    opacity: 0.5;
    transition: .5s;
}

.link:hover{
    opacity: 1;
}
4. Và bên trong nó trước khi bắt đầu kiểu dáng. Vì chúng ta sẽ có cùng một thanh navbar và chân trang trong tất cả các trang. Tôi đã nghĩ đến việc làm cho phong cách của họ như một tập tin riêng biệt. Vì vậy, nhập tệp
.links-container{
    width: 100%;
    display: flex;
    padding: 10px 10vw;
    justify-content: center;
    list-style: none;
    border-top: 1px solid #d1d1d1;
}

.link{
    text-transform: capitalize;
    padding: 0 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #383838;
    opacity: 0.5;
    transition: .5s;
}

.link:hover{
    opacity: 1;
}
7 bên trong
.links-container{
    width: 100%;
    display: flex;
    padding: 10px 10vw;
    justify-content: center;
    list-style: none;
    border-top: 1px solid #d1d1d1;
}

.link{
    text-transform: capitalize;
    padding: 0 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #383838;
    opacity: 0.5;
    transition: .5s;
}

.link:hover{
    opacity: 1;
}
4.

Và làm các phong cách liên quan đến Navbar bên trong

.links-container{
    width: 100%;
    display: flex;
    padding: 10px 10vw;
    justify-content: center;
    list-style: none;
    border-top: 1px solid #d1d1d1;
}

.link{
    text-transform: capitalize;
    padding: 0 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #383838;
    opacity: 0.5;
    transition: .5s;
}

.link:hover{
    opacity: 1;
}
9.

const createNav = () => {
    let nav = document.querySelector('.navbar');

    nav.innerHTML = `
        
        
    `;
}

createNav();

Nhập chế độ FullScreenen EXIT Mode FullScreen

Mở tệp

.links-container{
    width: 100%;
    display: flex;
    padding: 10px 10vw;
    justify-content: center;
    list-style: none;
    border-top: 1px solid #d1d1d1;
}

.link{
    text-transform: capitalize;
    padding: 0 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #383838;
    opacity: 0.5;
    transition: .5s;
}

.link:hover{
    opacity: 1;
}
4. Và bên trong nó trước khi bắt đầu kiểu dáng. Vì chúng ta sẽ có cùng một thanh navbar và chân trang trong tất cả các trang. Tôi đã nghĩ đến việc làm cho phong cách của họ như một tập tin riêng biệt. Vì vậy, nhập tệp
.links-container{
    width: 100%;
    display: flex;
    padding: 10px 10vw;
    justify-content: center;
    list-style: none;
    border-top: 1px solid #d1d1d1;
}

.link{
    text-transform: capitalize;
    padding: 0 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #383838;
    opacity: 0.5;
    transition: .5s;
}

.link:hover{
    opacity: 1;
}
7 bên trong
.links-container{
    width: 100%;
    display: flex;
    padding: 10px 10vw;
    justify-content: center;
    list-style: none;
    border-top: 1px solid #d1d1d1;
}

.link{
    text-transform: capitalize;
    padding: 0 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #383838;
    opacity: 0.5;
    transition: .5s;
}

.link:hover{
    opacity: 1;
}
4.

 class="navbar">

Nhập chế độ FullScreenen EXIT Mode FullScreen

Mở tệp
.links-container{
    width: 100%;
    display: flex;
    padding: 10px 10vw;
    justify-content: center;
    list-style: none;
    border-top: 1px solid #d1d1d1;
}

.link{
    text-transform: capitalize;
    padding: 0 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #383838;
    opacity: 0.5;
    transition: .5s;
}

.link:hover{
    opacity: 1;
}
4. Và bên trong nó trước khi bắt đầu kiểu dáng. Vì chúng ta sẽ có cùng một thanh navbar và chân trang trong tất cả các trang. Tôi đã nghĩ đến việc làm cho phong cách của họ như một tập tin riêng biệt. Vì vậy, nhập tệp
.links-container{
    width: 100%;
    display: flex;
    padding: 10px 10vw;
    justify-content: center;
    list-style: none;
    border-top: 1px solid #d1d1d1;
}

.link{
    text-transform: capitalize;
    padding: 0 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #383838;
    opacity: 0.5;
    transition: .5s;
}

.link:hover{
    opacity: 1;
}
7 bên trong
.links-container{
    width: 100%;
    display: flex;
    padding: 10px 10vw;
    justify-content: center;
    list-style: none;
    border-top: 1px solid #d1d1d1;
}

.link{
    text-transform: capitalize;
    padding: 0 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #383838;
    opacity: 0.5;
    transition: .5s;
}

.link:hover{
    opacity: 1;
}
4.

Và làm các phong cách liên quan đến Navbar bên trong

.links-container{
    width: 100%;
    display: flex;
    padding: 10px 10vw;
    justify-content: center;
    list-style: none;
    border-top: 1px solid #d1d1d1;
}

.link{
    text-transform: capitalize;
    padding: 0 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #383838;
    opacity: 0.5;
    transition: .5s;
}

.link:hover{
    opacity: 1;
}
9.


 class="hero-section">
     class="content">
        

Và làm các phong cách liên quan đến Navbar bên trong

.links-container{
    width: 100%;
    display: flex;
    padding: 10px 10vw;
    justify-content: center;
    list-style: none;
    border-top: 1px solid #d1d1d1;
}

.link{
    text-transform: capitalize;
    padding: 0 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #383838;
    opacity: 0.5;
    transition: .5s;
}

.link:hover{
    opacity: 1;
}
9.

 class="product">
     class="product-category">best selling

Nhập chế độ FullScreenen EXIT Mode FullScreen

Mở tệp

.links-container{
    width: 100%;
    display: flex;
    padding: 10px 10vw;
    justify-content: center;
    list-style: none;
    border-top: 1px solid #d1d1d1;
}

.link{
    text-transform: capitalize;
    padding: 0 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #383838;
    opacity: 0.5;
    transition: .5s;
}

.link:hover{
    opacity: 1;
}
4. Và bên trong nó trước khi bắt đầu kiểu dáng. Vì chúng ta sẽ có cùng một thanh navbar và chân trang trong tất cả các trang. Tôi đã nghĩ đến việc làm cho phong cách của họ như một tập tin riêng biệt. Vì vậy, nhập tệp
.links-container{
    width: 100%;
    display: flex;
    padding: 10px 10vw;
    justify-content: center;
    list-style: none;
    border-top: 1px solid #d1d1d1;
}

.link{
    text-transform: capitalize;
    padding: 0 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #383838;
    opacity: 0.5;
    transition: .5s;
}

.link:hover{
    opacity: 1;
}
7 bên trong
.links-container{
    width: 100%;
    display: flex;
    padding: 10px 10vw;
    justify-content: center;
    list-style: none;
    border-top: 1px solid #d1d1d1;
}

.link{
    text-transform: capitalize;
    padding: 0 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #383838;
    opacity: 0.5;
    transition: .5s;
}

.link:hover{
    opacity: 1;
}
4.

Mở tệp
.links-container{
    width: 100%;
    display: flex;
    padding: 10px 10vw;
    justify-content: center;
    list-style: none;
    border-top: 1px solid #d1d1d1;
}

.link{
    text-transform: capitalize;
    padding: 0 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #383838;
    opacity: 0.5;
    transition: .5s;
}

.link:hover{
    opacity: 1;
}
4. Và bên trong nó trước khi bắt đầu kiểu dáng. Vì chúng ta sẽ có cùng một thanh navbar và chân trang trong tất cả các trang. Tôi đã nghĩ đến việc làm cho phong cách của họ như một tập tin riêng biệt. Vì vậy, nhập tệp
.links-container{
    width: 100%;
    display: flex;
    padding: 10px 10vw;
    justify-content: center;
    list-style: none;
    border-top: 1px solid #d1d1d1;
}

.link{
    text-transform: capitalize;
    padding: 0 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #383838;
    opacity: 0.5;
    transition: .5s;
}

.link:hover{
    opacity: 1;
}
7 bên trong
.links-container{
    width: 100%;
    display: flex;
    padding: 10px 10vw;
    justify-content: center;
    list-style: none;
    border-top: 1px solid #d1d1d1;
}

.link{
    text-transform: capitalize;
    padding: 0 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #383838;
    opacity: 0.5;
    transition: .5s;
}

.link:hover{
    opacity: 1;
}
4.

@import 'nav.css';
0

Nhập chế độ FullScreenen EXIT Mode FullScreen

Mở tệp
.links-container{
    width: 100%;
    display: flex;
    padding: 10px 10vw;
    justify-content: center;
    list-style: none;
    border-top: 1px solid #d1d1d1;
}

.link{
    text-transform: capitalize;
    padding: 0 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #383838;
    opacity: 0.5;
    transition: .5s;
}

.link:hover{
    opacity: 1;
}
4. Và bên trong nó trước khi bắt đầu kiểu dáng. Vì chúng ta sẽ có cùng một thanh navbar và chân trang trong tất cả các trang. Tôi đã nghĩ đến việc làm cho phong cách của họ như một tập tin riêng biệt. Vì vậy, nhập tệp
.links-container{
    width: 100%;
    display: flex;
    padding: 10px 10vw;
    justify-content: center;
    list-style: none;
    border-top: 1px solid #d1d1d1;
}

.link{
    text-transform: capitalize;
    padding: 0 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #383838;
    opacity: 0.5;
    transition: .5s;
}

.link:hover{
    opacity: 1;
}
7 bên trong
.links-container{
    width: 100%;
    display: flex;
    padding: 10px 10vw;
    justify-content: center;
    list-style: none;
    border-top: 1px solid #d1d1d1;
}

.link{
    text-transform: capitalize;
    padding: 0 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #383838;
    opacity: 0.5;
    transition: .5s;
}

.link:hover{
    opacity: 1;
}
4.

Hướng dẫn ecommerce website using html css and bootstrap - trang web thương mại điện tử sử dụng html css và bootstrap

Và làm các phong cách liên quan đến Navbar bên trong

.links-container{
    width: 100%;
    display: flex;
    padding: 10px 10vw;
    justify-content: center;
    list-style: none;
    border-top: 1px solid #d1d1d1;
}

.link{
    text-transform: capitalize;
    padding: 0 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #383838;
    opacity: 0.5;
    transition: .5s;
}

.link:hover{
    opacity: 1;
}
9.

@import 'nav.css';
1

Nhập chế độ FullScreenen EXIT Mode FullScreen

Mở tệp

.links-container{
    width: 100%;
    display: flex;
    padding: 10px 10vw;
    justify-content: center;
    list-style: none;
    border-top: 1px solid #d1d1d1;
}

.link{
    text-transform: capitalize;
    padding: 0 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #383838;
    opacity: 0.5;
    transition: .5s;
}

.link:hover{
    opacity: 1;
}
4. Và bên trong nó trước khi bắt đầu kiểu dáng. Vì chúng ta sẽ có cùng một thanh navbar và chân trang trong tất cả các trang. Tôi đã nghĩ đến việc làm cho phong cách của họ như một tập tin riêng biệt. Vì vậy, nhập tệp
.links-container{
    width: 100%;
    display: flex;
    padding: 10px 10vw;
    justify-content: center;
    list-style: none;
    border-top: 1px solid #d1d1d1;
}

.link{
    text-transform: capitalize;
    padding: 0 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #383838;
    opacity: 0.5;
    transition: .5s;
}

.link:hover{
    opacity: 1;
}
7 bên trong
.links-container{
    width: 100%;
    display: flex;
    padding: 10px 10vw;
    justify-content: center;
    list-style: none;
    border-top: 1px solid #d1d1d1;
}

.link{
    text-transform: capitalize;
    padding: 0 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #383838;
    opacity: 0.5;
    transition: .5s;
}

.link:hover{
    opacity: 1;
}
4.

Mở tệp
.links-container{
    width: 100%;
    display: flex;
    padding: 10px 10vw;
    justify-content: center;
    list-style: none;
    border-top: 1px solid #d1d1d1;
}

.link{
    text-transform: capitalize;
    padding: 0 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #383838;
    opacity: 0.5;
    transition: .5s;
}

.link:hover{
    opacity: 1;
}
4. Và bên trong nó trước khi bắt đầu kiểu dáng. Vì chúng ta sẽ có cùng một thanh navbar và chân trang trong tất cả các trang. Tôi đã nghĩ đến việc làm cho phong cách của họ như một tập tin riêng biệt. Vì vậy, nhập tệp
.links-container{
    width: 100%;
    display: flex;
    padding: 10px 10vw;
    justify-content: center;
    list-style: none;
    border-top: 1px solid #d1d1d1;
}

.link{
    text-transform: capitalize;
    padding: 0 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #383838;
    opacity: 0.5;
    transition: .5s;
}

.link:hover{
    opacity: 1;
}
7 bên trong
.links-container{
    width: 100%;
    display: flex;
    padding: 10px 10vw;
    justify-content: center;
    list-style: none;
    border-top: 1px solid #d1d1d1;
}

.link{
    text-transform: capitalize;
    padding: 0 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #383838;
    opacity: 0.5;
    transition: .5s;
}

.link:hover{
    opacity: 1;
}
4.

@import 'nav.css';
2

Nhập chế độ FullScreenen EXIT Mode FullScreen

Mở tệp
.links-container{
    width: 100%;
    display: flex;
    padding: 10px 10vw;
    justify-content: center;
    list-style: none;
    border-top: 1px solid #d1d1d1;
}

.link{
    text-transform: capitalize;
    padding: 0 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #383838;
    opacity: 0.5;
    transition: .5s;
}

.link:hover{
    opacity: 1;
}
4. Và bên trong nó trước khi bắt đầu kiểu dáng. Vì chúng ta sẽ có cùng một thanh navbar và chân trang trong tất cả các trang. Tôi đã nghĩ đến việc làm cho phong cách của họ như một tập tin riêng biệt. Vì vậy, nhập tệp
.links-container{
    width: 100%;
    display: flex;
    padding: 10px 10vw;
    justify-content: center;
    list-style: none;
    border-top: 1px solid #d1d1d1;
}

.link{
    text-transform: capitalize;
    padding: 0 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #383838;
    opacity: 0.5;
    transition: .5s;
}

.link:hover{
    opacity: 1;
}
7 bên trong
.links-container{
    width: 100%;
    display: flex;
    padding: 10px 10vw;
    justify-content: center;
    list-style: none;
    border-top: 1px solid #d1d1d1;
}

.link{
    text-transform: capitalize;
    padding: 0 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #383838;
    opacity: 0.5;
    transition: .5s;
}

.link:hover{
    opacity: 1;
}
4.

Và làm các phong cách liên quan đến Navbar bên trong

.links-container{
    width: 100%;
    display: flex;
    padding: 10px 10vw;
    justify-content: center;
    list-style: none;
    border-top: 1px solid #d1d1d1;
}

.link{
    text-transform: capitalize;
    padding: 0 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #383838;
    opacity: 0.5;
    transition: .5s;
}

.link:hover{
    opacity: 1;
}
9.

@import 'nav.css';
3

Nhập chế độ FullScreenen EXIT Mode FullScreen

@import 'nav.css';
4

Nhập chế độ FullScreenen EXIT Mode FullScreen

Mở tệp
.links-container{
    width: 100%;
    display: flex;
    padding: 10px 10vw;
    justify-content: center;
    list-style: none;
    border-top: 1px solid #d1d1d1;
}

.link{
    text-transform: capitalize;
    padding: 0 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #383838;
    opacity: 0.5;
    transition: .5s;
}

.link:hover{
    opacity: 1;
}
4. Và bên trong nó trước khi bắt đầu kiểu dáng. Vì chúng ta sẽ có cùng một thanh navbar và chân trang trong tất cả các trang. Tôi đã nghĩ đến việc làm cho phong cách của họ như một tập tin riêng biệt. Vì vậy, nhập tệp
.links-container{
    width: 100%;
    display: flex;
    padding: 10px 10vw;
    justify-content: center;
    list-style: none;
    border-top: 1px solid #d1d1d1;
}

.link{
    text-transform: capitalize;
    padding: 0 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #383838;
    opacity: 0.5;
    transition: .5s;
}

.link:hover{
    opacity: 1;
}
7 bên trong
.links-container{
    width: 100%;
    display: flex;
    padding: 10px 10vw;
    justify-content: center;
    list-style: none;
    border-top: 1px solid #d1d1d1;
}

.link{
    text-transform: capitalize;
    padding: 0 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #383838;
    opacity: 0.5;
    transition: .5s;
}

.link:hover{
    opacity: 1;
}
4.

Và làm các phong cách liên quan đến Navbar bên trong

.links-container{
    width: 100%;
    display: flex;
    padding: 10px 10vw;
    justify-content: center;
    list-style: none;
    border-top: 1px solid #d1d1d1;
}

.link{
    text-transform: capitalize;
    padding: 0 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #383838;
    opacity: 0.5;
    transition: .5s;
}

.link:hover{
    opacity: 1;
}
9.

@import 'nav.css';
5

Nhập chế độ FullScreenen EXIT Mode FullScreen

Mở tệp

.links-container{
    width: 100%;
    display: flex;
    padding: 10px 10vw;
    justify-content: center;
    list-style: none;
    border-top: 1px solid #d1d1d1;
}

.link{
    text-transform: capitalize;
    padding: 0 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #383838;
    opacity: 0.5;
    transition: .5s;
}

.link:hover{
    opacity: 1;
}
4. Và bên trong nó trước khi bắt đầu kiểu dáng. Vì chúng ta sẽ có cùng một thanh navbar và chân trang trong tất cả các trang. Tôi đã nghĩ đến việc làm cho phong cách của họ như một tập tin riêng biệt. Vì vậy, nhập tệp
.links-container{
    width: 100%;
    display: flex;
    padding: 10px 10vw;
    justify-content: center;
    list-style: none;
    border-top: 1px solid #d1d1d1;
}

.link{
    text-transform: capitalize;
    padding: 0 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #383838;
    opacity: 0.5;
    transition: .5s;
}

.link:hover{
    opacity: 1;
}
7 bên trong
.links-container{
    width: 100%;
    display: flex;
    padding: 10px 10vw;
    justify-content: center;
    list-style: none;
    border-top: 1px solid #d1d1d1;
}

.link{
    text-transform: capitalize;
    padding: 0 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #383838;
    opacity: 0.5;
    transition: .5s;
}

.link:hover{
    opacity: 1;
}
4.

Và làm các phong cách liên quan đến Navbar bên trong

.links-container{
    width: 100%;
    display: flex;
    padding: 10px 10vw;
    justify-content: center;
    list-style: none;
    border-top: 1px solid #d1d1d1;
}

.link{
    text-transform: capitalize;
    padding: 0 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #383838;
    opacity: 0.5;
    transition: .5s;
}

.link:hover{
    opacity: 1;
}
9.

@import 'nav.css';
6

Nhập chế độ FullScreenen EXIT Mode FullScreen

Mở tệp

.links-container{
    width: 100%;
    display: flex;
    padding: 10px 10vw;
    justify-content: center;
    list-style: none;
    border-top: 1px solid #d1d1d1;
}

.link{
    text-transform: capitalize;
    padding: 0 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #383838;
    opacity: 0.5;
    transition: .5s;
}

.link:hover{
    opacity: 1;
}
4. Và bên trong nó trước khi bắt đầu kiểu dáng. Vì chúng ta sẽ có cùng một thanh navbar và chân trang trong tất cả các trang. Tôi đã nghĩ đến việc làm cho phong cách của họ như một tập tin riêng biệt. Vì vậy, nhập tệp
.links-container{
    width: 100%;
    display: flex;
    padding: 10px 10vw;
    justify-content: center;
    list-style: none;
    border-top: 1px solid #d1d1d1;
}

.link{
    text-transform: capitalize;
    padding: 0 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #383838;
    opacity: 0.5;
    transition: .5s;
}

.link:hover{
    opacity: 1;
}
7 bên trong
.links-container{
    width: 100%;
    display: flex;
    padding: 10px 10vw;
    justify-content: center;
    list-style: none;
    border-top: 1px solid #d1d1d1;
}

.link{
    text-transform: capitalize;
    padding: 0 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #383838;
    opacity: 0.5;
    transition: .5s;
}

.link:hover{
    opacity: 1;
}
4.

@import 'nav.css';
7

Nhập chế độ FullScreenen EXIT Mode FullScreen

@import 'nav.css';
8

Nhập chế độ FullScreenen EXIT Mode FullScreen

Đầu ra

Bây giờ bạn có thể sao chép phần sản phẩm thêm 2 lần sau phần tử thu thập. Và bạn cũng có thể thay đổi hình ảnh và dữ liệu. Đừng lo lắng, chúng tôi sẽ làm cho các thẻ động với cơ sở dữ liệu trong tương lai.

Sau khi sao chép phần sản phẩm. Điều duy nhất còn lại trong trang của chúng tôi là chân trang. Vì vậy, hãy làm cho nó.

@import 'nav.css';
9

Nhập chế độ FullScreenen EXIT Mode FullScreen

Như chúng tôi đã làm cho Navbar. Nhập

 class="navbar">

3 bên trong tệp
.links-container{
    width: 100%;
    display: flex;
    padding: 10px 10vw;
    justify-content: center;
    list-style: none;
    border-top: 1px solid #d1d1d1;
}

.link{
    text-transform: capitalize;
    padding: 0 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #383838;
    opacity: 0.5;
    transition: .5s;
}

.link:hover{
    opacity: 1;
}
4.

Nhà.css

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'roboto', sans-serif;
}

.navbar{
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background: #f5f5f5;
    z-index: 9;
}

.nav{
    padding: 10px 10vw;
    display: flex;
    justify-content: space-between;
}

.brand-logo{
    height: 60px;
}

.nav-items{
    display: flex;
    align-items: center;
}

.search{
    width: 500px;
    display: flex;
}

.search-box{
    width: 80%;
    height: 40px;
    padding: 10px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border: 1px solid #d1d1d1;
    text-transform: capitalize;
    background: none;
    color: #a9a9a9;
    outline: none;
}

.search-btn{
    width: 20%;
    height: 40px;
    padding: 10px 20px;
    border: none;
    outline: none;
    cursor: pointer;
    background: #383838;
    color: #fff;
    text-transform: capitalize;
    font-size: 15px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.search-box::placeholder{
    color: #a9a9a9;
}

.nav-items a{
    margin-left: 20px;
}

.nav-items a img{
    width: 30px;
}
0

Nhập chế độ FullScreenen EXIT Mode FullScreen

Footer.css

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'roboto', sans-serif;
}

.navbar{
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background: #f5f5f5;
    z-index: 9;
}

.nav{
    padding: 10px 10vw;
    display: flex;
    justify-content: space-between;
}

.brand-logo{
    height: 60px;
}

.nav-items{
    display: flex;
    align-items: center;
}

.search{
    width: 500px;
    display: flex;
}

.search-box{
    width: 80%;
    height: 40px;
    padding: 10px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border: 1px solid #d1d1d1;
    text-transform: capitalize;
    background: none;
    color: #a9a9a9;
    outline: none;
}

.search-btn{
    width: 20%;
    height: 40px;
    padding: 10px 20px;
    border: none;
    outline: none;
    cursor: pointer;
    background: #383838;
    color: #fff;
    text-transform: capitalize;
    font-size: 15px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.search-box::placeholder{
    color: #a9a9a9;
}

.nav-items a{
    margin-left: 20px;
}

.nav-items a img{
    width: 30px;
}
1

Nhập chế độ FullScreenen EXIT Mode FullScreen

Đầu ra

Bây giờ bạn có thể sao chép phần sản phẩm thêm 2 lần sau phần tử thu thập. Và bạn cũng có thể thay đổi hình ảnh và dữ liệu. Đừng lo lắng, chúng tôi sẽ làm cho các thẻ động với cơ sở dữ liệu trong tương lai.

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'roboto', sans-serif;
}

.navbar{
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background: #f5f5f5;
    z-index: 9;
}

.nav{
    padding: 10px 10vw;
    display: flex;
    justify-content: space-between;
}

.brand-logo{
    height: 60px;
}

.nav-items{
    display: flex;
    align-items: center;
}

.search{
    width: 500px;
    display: flex;
}

.search-box{
    width: 80%;
    height: 40px;
    padding: 10px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border: 1px solid #d1d1d1;
    text-transform: capitalize;
    background: none;
    color: #a9a9a9;
    outline: none;
}

.search-btn{
    width: 20%;
    height: 40px;
    padding: 10px 20px;
    border: none;
    outline: none;
    cursor: pointer;
    background: #383838;
    color: #fff;
    text-transform: capitalize;
    font-size: 15px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.search-box::placeholder{
    color: #a9a9a9;
}

.nav-items a{
    margin-left: 20px;
}

.nav-items a img{
    width: 30px;
}
2

Nhập chế độ FullScreenen EXIT Mode FullScreen

Footer.css

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'roboto', sans-serif;
}

.navbar{
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background: #f5f5f5;
    z-index: 9;
}

.nav{
    padding: 10px 10vw;
    display: flex;
    justify-content: space-between;
}

.brand-logo{
    height: 60px;
}

.nav-items{
    display: flex;
    align-items: center;
}

.search{
    width: 500px;
    display: flex;
}

.search-box{
    width: 80%;
    height: 40px;
    padding: 10px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border: 1px solid #d1d1d1;
    text-transform: capitalize;
    background: none;
    color: #a9a9a9;
    outline: none;
}

.search-btn{
    width: 20%;
    height: 40px;
    padding: 10px 20px;
    border: none;
    outline: none;
    cursor: pointer;
    background: #383838;
    color: #fff;
    text-transform: capitalize;
    font-size: 15px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.search-box::placeholder{
    color: #a9a9a9;
}

.nav-items a{
    margin-left: 20px;
}

.nav-items a img{
    width: 30px;
}
3

Nhập chế độ FullScreenen EXIT Mode FullScreen

Đầu ra

Bây giờ bạn có thể sao chép phần sản phẩm thêm 2 lần sau phần tử thu thập. Và bạn cũng có thể thay đổi hình ảnh và dữ liệu. Đừng lo lắng, chúng tôi sẽ làm cho các thẻ động với cơ sở dữ liệu trong tương lai.

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'roboto', sans-serif;
}

.navbar{
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background: #f5f5f5;
    z-index: 9;
}

.nav{
    padding: 10px 10vw;
    display: flex;
    justify-content: space-between;
}

.brand-logo{
    height: 60px;
}

.nav-items{
    display: flex;
    align-items: center;
}

.search{
    width: 500px;
    display: flex;
}

.search-box{
    width: 80%;
    height: 40px;
    padding: 10px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border: 1px solid #d1d1d1;
    text-transform: capitalize;
    background: none;
    color: #a9a9a9;
    outline: none;
}

.search-btn{
    width: 20%;
    height: 40px;
    padding: 10px 20px;
    border: none;
    outline: none;
    cursor: pointer;
    background: #383838;
    color: #fff;
    text-transform: capitalize;
    font-size: 15px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.search-box::placeholder{
    color: #a9a9a9;
}

.nav-items a{
    margin-left: 20px;
}

.nav-items a img{
    width: 30px;
}
4

Nhập chế độ FullScreenen EXIT Mode FullScreen

Sau khi sao chép phần sản phẩm. Điều duy nhất còn lại trong trang của chúng tôi là chân trang. Vì vậy, hãy làm cho nó.

Như chúng tôi đã làm cho Navbar. Nhập
 class="navbar">

3 bên trong tệp
.links-container{
    width: 100%;
    display: flex;
    padding: 10px 10vw;
    justify-content: center;
    list-style: none;
    border-top: 1px solid #d1d1d1;
}

.link{
    text-transform: capitalize;
    padding: 0 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #383838;
    opacity: 0.5;
    transition: .5s;
}

.link:hover{
    opacity: 1;
}
4.

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'roboto', sans-serif;
}

.navbar{
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background: #f5f5f5;
    z-index: 9;
}

.nav{
    padding: 10px 10vw;
    display: flex;
    justify-content: space-between;
}

.brand-logo{
    height: 60px;
}

.nav-items{
    display: flex;
    align-items: center;
}

.search{
    width: 500px;
    display: flex;
}

.search-box{
    width: 80%;
    height: 40px;
    padding: 10px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border: 1px solid #d1d1d1;
    text-transform: capitalize;
    background: none;
    color: #a9a9a9;
    outline: none;
}

.search-btn{
    width: 20%;
    height: 40px;
    padding: 10px 20px;
    border: none;
    outline: none;
    cursor: pointer;
    background: #383838;
    color: #fff;
    text-transform: capitalize;
    font-size: 15px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.search-box::placeholder{
    color: #a9a9a9;
}

.nav-items a{
    margin-left: 20px;
}

.nav-items a img{
    width: 30px;
}
5

Nhập chế độ FullScreenen EXIT Mode FullScreen

Đầu ra

Bây giờ bạn có thể sao chép phần sản phẩm thêm 2 lần sau phần tử thu thập. Và bạn cũng có thể thay đổi hình ảnh và dữ liệu. Đừng lo lắng, chúng tôi sẽ làm cho các thẻ động với cơ sở dữ liệu trong tương lai.

Sau khi sao chép phần sản phẩm. Điều duy nhất còn lại trong trang của chúng tôi là chân trang. Vì vậy, hãy làm cho nó.

Như chúng tôi đã làm cho Navbar. Nhập

 class="navbar">

3 bên trong tệp
.links-container{
    width: 100%;
    display: flex;
    padding: 10px 10vw;
    justify-content: center;
    list-style: none;
    border-top: 1px solid #d1d1d1;
}

.link{
    text-transform: capitalize;
    padding: 0 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #383838;
    opacity: 0.5;
    transition: .5s;
}

.link:hover{
    opacity: 1;
}
4.

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'roboto', sans-serif;
}

.navbar{
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background: #f5f5f5;
    z-index: 9;
}

.nav{
    padding: 10px 10vw;
    display: flex;
    justify-content: space-between;
}

.brand-logo{
    height: 60px;
}

.nav-items{
    display: flex;
    align-items: center;
}

.search{
    width: 500px;
    display: flex;
}

.search-box{
    width: 80%;
    height: 40px;
    padding: 10px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border: 1px solid #d1d1d1;
    text-transform: capitalize;
    background: none;
    color: #a9a9a9;
    outline: none;
}

.search-btn{
    width: 20%;
    height: 40px;
    padding: 10px 20px;
    border: none;
    outline: none;
    cursor: pointer;
    background: #383838;
    color: #fff;
    text-transform: capitalize;
    font-size: 15px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.search-box::placeholder{
    color: #a9a9a9;
}

.nav-items a{
    margin-left: 20px;
}

.nav-items a img{
    width: 30px;
}
6

Nhập chế độ FullScreenen EXIT Mode FullScreen

Nhà.css

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'roboto', sans-serif;
}

.navbar{
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background: #f5f5f5;
    z-index: 9;
}

.nav{
    padding: 10px 10vw;
    display: flex;
    justify-content: space-between;
}

.brand-logo{
    height: 60px;
}

.nav-items{
    display: flex;
    align-items: center;
}

.search{
    width: 500px;
    display: flex;
}

.search-box{
    width: 80%;
    height: 40px;
    padding: 10px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border: 1px solid #d1d1d1;
    text-transform: capitalize;
    background: none;
    color: #a9a9a9;
    outline: none;
}

.search-btn{
    width: 20%;
    height: 40px;
    padding: 10px 20px;
    border: none;
    outline: none;
    cursor: pointer;
    background: #383838;
    color: #fff;
    text-transform: capitalize;
    font-size: 15px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.search-box::placeholder{
    color: #a9a9a9;
}

.nav-items a{
    margin-left: 20px;
}

.nav-items a img{
    width: 30px;
}
7

Nhập chế độ FullScreenen EXIT Mode FullScreen

Footer.css

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'roboto', sans-serif;
}

.navbar{
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background: #f5f5f5;
    z-index: 9;
}

.nav{
    padding: 10px 10vw;
    display: flex;
    justify-content: space-between;
}

.brand-logo{
    height: 60px;
}

.nav-items{
    display: flex;
    align-items: center;
}

.search{
    width: 500px;
    display: flex;
}

.search-box{
    width: 80%;
    height: 40px;
    padding: 10px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border: 1px solid #d1d1d1;
    text-transform: capitalize;
    background: none;
    color: #a9a9a9;
    outline: none;
}

.search-btn{
    width: 20%;
    height: 40px;
    padding: 10px 20px;
    border: none;
    outline: none;
    cursor: pointer;
    background: #383838;
    color: #fff;
    text-transform: capitalize;
    font-size: 15px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.search-box::placeholder{
    color: #a9a9a9;
}

.nav-items a{
    margin-left: 20px;
}

.nav-items a img{
    width: 30px;
}
8

Nhập chế độ FullScreenen EXIT Mode FullScreen

Đầu ra

Bây giờ bạn có thể sao chép phần sản phẩm thêm 2 lần sau phần tử thu thập. Và bạn cũng có thể thay đổi hình ảnh và dữ liệu. Đừng lo lắng, chúng tôi sẽ làm cho các thẻ động với cơ sở dữ liệu trong tương lai.

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'roboto', sans-serif;
}

.navbar{
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background: #f5f5f5;
    z-index: 9;
}

.nav{
    padding: 10px 10vw;
    display: flex;
    justify-content: space-between;
}

.brand-logo{
    height: 60px;
}

.nav-items{
    display: flex;
    align-items: center;
}

.search{
    width: 500px;
    display: flex;
}

.search-box{
    width: 80%;
    height: 40px;
    padding: 10px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border: 1px solid #d1d1d1;
    text-transform: capitalize;
    background: none;
    color: #a9a9a9;
    outline: none;
}

.search-btn{
    width: 20%;
    height: 40px;
    padding: 10px 20px;
    border: none;
    outline: none;
    cursor: pointer;
    background: #383838;
    color: #fff;
    text-transform: capitalize;
    font-size: 15px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.search-box::placeholder{
    color: #a9a9a9;
}

.nav-items a{
    margin-left: 20px;
}

.nav-items a img{
    width: 30px;
}
9

Nhập chế độ FullScreenen EXIT Mode FullScreen

Sau khi sao chép phần sản phẩm. Điều duy nhất còn lại trong trang của chúng tôi là chân trang. Vì vậy, hãy làm cho nó.

 class="links-container">
     class="link-item"> href="#" class="link">home
     class="link-item"> href="#" class="link">women
     class="link-item"> href="#" class="link">men
     class="link-item"> href="#" class="link">kids
     class="link-item"> href="#" class="link">accessories

0

Nhập chế độ FullScreenen EXIT Mode FullScreen

Đầu ra

Bây giờ bạn có thể sao chép phần sản phẩm thêm 2 lần sau phần tử thu thập. Và bạn cũng có thể thay đổi hình ảnh và dữ liệu. Đừng lo lắng, chúng tôi sẽ làm cho các thẻ động với cơ sở dữ liệu trong tương lai.

 class="links-container">
     class="link-item"> href="#" class="link">home
     class="link-item"> href="#" class="link">women
     class="link-item"> href="#" class="link">men
     class="link-item"> href="#" class="link">kids
     class="link-item"> href="#" class="link">accessories

1

Nhập chế độ FullScreenen EXIT Mode FullScreen

 class="links-container">
     class="link-item"> href="#" class="link">home
     class="link-item"> href="#" class="link">women
     class="link-item"> href="#" class="link">men
     class="link-item"> href="#" class="link">kids
     class="link-item"> href="#" class="link">accessories

2

Nhập chế độ FullScreenen EXIT Mode FullScreen

Đầu ra

Bây giờ bạn có thể sao chép phần sản phẩm thêm 2 lần sau phần tử thu thập. Và bạn cũng có thể thay đổi hình ảnh và dữ liệu. Đừng lo lắng, chúng tôi sẽ làm cho các thẻ động với cơ sở dữ liệu trong tương lai.

 class="links-container">
     class="link-item"> href="#" class="link">home
     class="link-item"> href="#" class="link">women
     class="link-item"> href="#" class="link">men
     class="link-item"> href="#" class="link">kids
     class="link-item"> href="#" class="link">accessories

3

Nhập chế độ FullScreenen EXIT Mode FullScreen

 class="links-container">
     class="link-item"> href="#" class="link">home
     class="link-item"> href="#" class="link">women
     class="link-item"> href="#" class="link">men
     class="link-item"> href="#" class="link">kids
     class="link-item"> href="#" class="link">accessories

4

Nhập chế độ FullScreenen EXIT Mode FullScreen

Đầu ra

Bây giờ bạn có thể sao chép phần sản phẩm thêm 2 lần sau phần tử thu thập. Và bạn cũng có thể thay đổi hình ảnh và dữ liệu. Đừng lo lắng, chúng tôi sẽ làm cho các thẻ động với cơ sở dữ liệu trong tương lai.

 class="links-container">
     class="link-item"> href="#" class="link">home
     class="link-item"> href="#" class="link">women
     class="link-item"> href="#" class="link">men
     class="link-item"> href="#" class="link">kids
     class="link-item"> href="#" class="link">accessories

5

Nhập chế độ FullScreenen EXIT Mode FullScreen

Sau khi sao chép phần sản phẩm. Điều duy nhất còn lại trong trang của chúng tôi là chân trang. Vì vậy, hãy làm cho nó.

 class="links-container">
     class="link-item"> href="#" class="link">home
     class="link-item"> href="#" class="link">women
     class="link-item"> href="#" class="link">men
     class="link-item"> href="#" class="link">kids
     class="link-item"> href="#" class="link">accessories

6

Nhập chế độ FullScreenen EXIT Mode FullScreen

Như chúng tôi đã làm cho Navbar. Nhập

 class="navbar">

3 bên trong tệp
.links-container{
    width: 100%;
    display: flex;
    padding: 10px 10vw;
    justify-content: center;
    list-style: none;
    border-top: 1px solid #d1d1d1;
}

.link{
    text-transform: capitalize;
    padding: 0 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #383838;
    opacity: 0.5;
    transition: .5s;
}

.link:hover{
    opacity: 1;
}
4.

Nhà.css

Footer.css

 class="links-container">
     class="link-item"> href="#" class="link">home
     class="link-item"> href="#" class="link">women
     class="link-item"> href="#" class="link">men
     class="link-item"> href="#" class="link">kids
     class="link-item"> href="#" class="link">accessories

7

Nhập chế độ FullScreenen EXIT Mode FullScreen

Làm cho các yếu tố thông tin bên trong chân trang.

 class="links-container">
     class="link-item"> href="#" class="link">home
     class="link-item"> href="#" class="link">women
     class="link-item"> href="#" class="link">men
     class="link-item"> href="#" class="link">kids
     class="link-item"> href="#" class="link">accessories

8

Nhập chế độ FullScreenen EXIT Mode FullScreen

Công việc tuyệt vời. Như chúng tôi đã làm cho Navbar. Chúng ta hãy làm chân trang này với JS một cách linh hoạt. Mở tệp
 class="navbar">

5 và làm điều tương tự, mà chúng tôi đã làm cho Navbar.

 class="links-container">
     class="link-item"> href="#" class="link">home
     class="link-item"> href="#" class="link">women
     class="link-item"> href="#" class="link">men
     class="link-item"> href="#" class="link">kids
     class="link-item"> href="#" class="link">accessories

9

Nhập chế độ FullScreenen EXIT Mode FullScreen

Đầu ra


Bây giờ bạn có thể sao chép phần sản phẩm thêm 2 lần sau phần tử thu thập. Và bạn cũng có thể thay đổi hình ảnh và dữ liệu. Đừng lo lắng, chúng tôi sẽ làm cho các thẻ động với cơ sở dữ liệu trong tương lai.

Sau khi sao chép phần sản phẩm. Điều duy nhất còn lại trong trang của chúng tôi là chân trang. Vì vậy, hãy làm cho nó.

Sau khi sao chép phần sản phẩm. Điều duy nhất còn lại trong trang của chúng tôi là chân trang. Vì vậy, hãy làm cho nó.

.links-container{
    width: 100%;
    display: flex;
    padding: 10px 10vw;
    justify-content: center;
    list-style: none;
    border-top: 1px solid #d1d1d1;
}

.link{
    text-transform: capitalize;
    padding: 0 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #383838;
    opacity: 0.5;
    transition: .5s;
}

.link:hover{
    opacity: 1;
}
0

Nhập chế độ FullScreenen EXIT Mode FullScreen

Đầu ra

Bây giờ bạn có thể sao chép phần sản phẩm thêm 2 lần sau phần tử thu thập. Và bạn cũng có thể thay đổi hình ảnh và dữ liệu. Đừng lo lắng, chúng tôi sẽ làm cho các thẻ động với cơ sở dữ liệu trong tương lai.

Sau khi sao chép phần sản phẩm. Điều duy nhất còn lại trong trang của chúng tôi là chân trang. Vì vậy, hãy làm cho nó.

Như chúng tôi đã làm cho Navbar. Nhập

 class="navbar">

3 bên trong tệp
.links-container{
    width: 100%;
    display: flex;
    padding: 10px 10vw;
    justify-content: center;
    list-style: none;
    border-top: 1px solid #d1d1d1;
}

.link{
    text-transform: capitalize;
    padding: 0 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #383838;
    opacity: 0.5;
    transition: .5s;
}

.link:hover{
    opacity: 1;
}
4.

.links-container{
    width: 100%;
    display: flex;
    padding: 10px 10vw;
    justify-content: center;
    list-style: none;
    border-top: 1px solid #d1d1d1;
}

.link{
    text-transform: capitalize;
    padding: 0 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #383838;
    opacity: 0.5;
    transition: .5s;
}

.link:hover{
    opacity: 1;
}
1

Nhập chế độ FullScreenen EXIT Mode FullScreen

Footer.css

.links-container{
    width: 100%;
    display: flex;
    padding: 10px 10vw;
    justify-content: center;
    list-style: none;
    border-top: 1px solid #d1d1d1;
}

.link{
    text-transform: capitalize;
    padding: 0 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #383838;
    opacity: 0.5;
    transition: .5s;
}

.link:hover{
    opacity: 1;
}
2

Nhập chế độ FullScreenen EXIT Mode FullScreen

Đầu ra

Bây giờ bạn có thể sao chép phần sản phẩm thêm 2 lần sau phần tử thu thập. Và bạn cũng có thể thay đổi hình ảnh và dữ liệu. Đừng lo lắng, chúng tôi sẽ làm cho các thẻ động với cơ sở dữ liệu trong tương lai.

Sau khi sao chép phần sản phẩm. Điều duy nhất còn lại trong trang của chúng tôi là chân trang. Vì vậy, hãy làm cho nó.

  1. Nhà.css
  2. Footer.css
  3. Làm cho các yếu tố thông tin bên trong chân trang.
  4. Công việc tuyệt vời. Như chúng tôi đã làm cho Navbar. Chúng ta hãy làm chân trang này với JS một cách linh hoạt. Mở tệp
     class="navbar">
    
    
    5 và làm điều tương tự, mà chúng tôi đã làm cho Navbar.
  5. Bây giờ bạn có thể xóa các phần tử chân trang khỏi tệp chỉ mục. Và nhập tệp
     class="navbar">
    
    
    5.

INDEX.html

Hướng dẫn ecommerce website using html css and bootstrap - trang web thương mại điện tử sử dụng html css và bootstrap

Tuyệt quá! Chúng tôi được thực hiện với trang chủ. Bây giờ, hãy tạo trang sản phẩm.

Trang sản phẩm.

Cảm ơn vì đã đọc.

Chúng ta có thể tạo trang web thương mại điện tử bằng HTML và CSS không?

Người mới bắt đầu dễ dàng tạo ra một trang web thương mại điện tử với HTML và CSS. Bước đầu tiên là tạo bố cục trang web của bạn bằng HTML. Bạn có thể tạo một thanh điều hướng, thanh tìm kiếm và các trang có liên quan khác nhau cho trang web của bạn bằng HTML.. The first step is to create the layout of your website using HTML. You can create a navigation bar, search bar, and different relevant pages for your website using HTML.

Bootstrap có tốt cho thương mại điện tử không?

Bootstrap Thương mại điện tử là một bộ sưu tập các thư viện HTML và CSS được thiết kế chuyên nghiệp, sẵn sàng hoàn toàn đáp ứng mà bạn có thể dễ dàng sử dụng bất kỳ dự án thương mại điện tử nào. Bắt đầu bằng cách kiểm tra các thành phần của chúng tôi và xây dựng các dự án thương mại điện tử đáp ứng trên web.. Get started by checking our components and build responsive e-commerce projects on the web.

Làm cách nào để tạo một trang web bằng cách sử dụng Bootstrap HTML và CSS?

Hướng dẫn bootstrap..
Bước 1: Thiết lập và tổng quan.Tạo một trang HTML.Tải Bootstrap qua CDN hoặc lưu trữ cục bộ.Bao gồm jQuery.Tải Bootstrap JavaScript.Đặt nó tất cả cùng nhau..
Bước 2: Thiết kế trang đích của bạn.Thêm một thanh điều hướng.Bao gồm CSS tùy chỉnh.Tạo một thùng chứa nội dung trang.Thêm hình ảnh nền và JavaScript tùy chỉnh ..

Làm cách nào để làm cho trang web thương mại điện tử của tôi đáp ứng?

Làm thế nào để tạo ra một thiết kế web đáp ứng cho Thương mại điện tử..
Đặt điểm dừng thích hợp.....
Bắt đầu với một lưới chất lỏng.....
Xem xét sử dụng màn hình cảm ứng.....
Sử dụng hình ảnh đáp ứng.....
Thực hiện kiểu chữ đáp ứng.....
Sử dụng một chủ đề đáp ứng trước.....
Kiểm tra khả năng đáp ứng web ..