# mdbootstrap **Repository Path**: cucy/mdbootstrap ## Basic Information - **Project Name**: mdbootstrap - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2017-08-16 - **Last Updated**: 2020-12-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## Collections and Virtual Product Cards 收藏和虚拟产品卡 The worst is behind us :) Now we'll use the full potential of **MDB E-COMMERCE** (电子商务组件)components to present products in a few different ways. https://mdbootstrap.com/components/e-commerce/ **1. Collections** We use a **Collection Cards** to present some **category** **of products** (unlike Product Card, which presents a single product). Then go to the **E-COMMERCE** section in MDB documentation, copy the code of **Collection Card and paste a card to each column between comments:** PS: As always, instead of default images you can use whatever pictures you want. ```html
``` It seems that our Titles of sections need some additional margins. Add a following code to style.css: ```css .section-title { margin-top: 3rem; margin-bottom: 3rem; } ``` **2. Minimalist Product Card** The complexity of the component is not always the best solution. It's a good idea to present the content in different ways. That's why now we'll use Minimalist Product Card, which is much simpler than standard Product Card. From the [E-COMMERCE ](https://mdbootstrap.com/sets/e-commerce/#minimalist-card)section in MDB documentation grab the code of **Minimalist Product Card.** **Then paste it to 2 equal columns between comments** ```html
-20%

Product name

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Explicabo dolorem saepe voluptas itaque doloribus.

$500 $700

-20%

Product name

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Explicabo dolorem saepe voluptas itaque doloribus.

$500 $700

``` **3. Products Carousel** This time, we'll use a really huge (but actually very simple) piece of code - a mix of Multi-item Carousel and Product Cards. **From the E-COMMERCE section copy the code of Products Carousel and paste it into the .row between comments. ** https://mdbootstrap.com/components/e-commerce/#products-carousel ```html
``` **4. Blog posts** The last Card which we'll add to our project is Cards for blog posts. Every e-commerce business should run a company blog, and that's why we'll provide necessary components to present it. Inside the each column between `` comments paste the code of [Elegant Card](https://mdbootstrap.com/components/cards/#elegant-card). ```html

Card title


Some quick example text to build on the card title and make up the bulk of the card's content.

Card title


Some quick example text to build on the card title and make up the bulk of the card's content.

Card title


Some quick example text to build on the card title and make up the bulk of the card's content.

``` The last things you should care of is a consistency in the color pattern. We've talked about it in the [previous tutorial](https://mdbootstrap.com/final-improvements/). Don't forget about adding a [FOOTER](https://mdbootstrap.com/components/miscellaneous/#footers) and [ANIMATIONS](https://mdbootstrap.com/css/animations/). **And that's it! HomePage of our E-commerce website is finished.**