HTML AND CSS, YouTube

Creative Product Card UI Design in HTML CSS

Creative Product Card UI Design in HTML CSS

Coding BD has given here Creative Product Card UI Design in HTML CSS. We created a CSS card UI design. It is the most important part Of the product card UI. We have given more importance to CSS effects. We have used product card UI design – pure CSS tutorial because they need highly effective effects. Thank you so much.

Creative Product Card UI Design in HTML CSS

😍😍 If You like this video Please like, share and subscribe This video.😍😍 

😍😍 Check Others Programming Video👇

You can image download here: https://ibb.co/4wrGcL6  

➡️New Year Countdown Clock: https://www.youtube.com/watch?v=7UQL5… 

➡️ CSS 3d Layered Image Hover Effects CSS: https://www.youtube.com/watch?v=0qdWV… 

➡️Responsive website html css javascript | part( 1 ): https://www.youtube.com/watch?v=g0ART… 

➡️ Responsive Services Section: https://www.youtube.com/watch?v=wvLky

➡️ CSS Clip Path Hover Circle Hover Effects: https://www.youtube.com/watch?v=cRSgo

➡️ CSS Responsive CARD Hover Effects & Adding Stroke to Text | Html5 CSS3 2021: https://www.youtube.com/watch?v=QVMJ5

➡️  Neon Light Button Animation Effects on Hover | CSS Snake Border: https://www.youtube.com/watch?v=GtVSF… 

➡️ Responsive Box Model Web Design Using CSS Flexbox: https://www.youtube.com/watch?v=03RuV… 

➡️ Digital Clock with Animated Progress-bar | HTML CSS & Vanilla Javascript: https://www.youtube.com/watch?v=6A6Hp… 

➡️ How to create a light to dark mode for HTML CSS & Vanilla Javascript 2021: https://www.youtube.com/watch?v=43FbR…  

➡️Scroll top button : https://www.youtube.com/watch?v=9fDEJ… 

➡️ Animated eid mubarak 2021 using Html CSS & Javascript: https://www.youtube.com/watch?v=60H2g… 

Here is all Source code. You can follow this steps:

  1. Create 1 folder
  2. create 1 HTML file: index.html
  3. create 1 CSS file: style.css
  4. copy HTML code and pest HTML file, copy CSS code and past CSS file
  5. Now give a smile and jump out loud. 😍😍
<!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">
    <title>Cart Item</title>
    <link rel="stylesheet" href="style.css">
</head>

<body>
    <div class="container">
        <img src="./t-shirt-removebg-preview.png" class="image" alt="image">
        <div class="overlay">
            <div class="text">
                <div class="row">
                    <div class="title">Adidas Official</div>
                    <div class="price">$50</div>
                </div>
                <div class="desc">This is Adidas official T-Shart</div>
                <div class="row">
                    <div class="size">Size</div>
                    <div class="data"><span class="size_data">X</span> <span class="size_data">XL</span><span
                            class="size_data active">M</span><span class="size_data">XM</span></div>
                </div>
                <div class="row">
                    <div class="color">Color</div>
                    <div class="data"><span class="color_data"></span> <span class="color_data"></span><span
                            class="color_data"></span><span class="color_data active"></span></div>
                </div>
                <div class="row">
                    <button>BUY NOW</button>
                    <button>ADD TO CART</button>
                </div>
            </div>
        </div>
    </div>
</body>

</html>
@import url("https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap");
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

html,
body {
    display: grid;
    height: 100%;
    place-items: center;
    background: #456abd;
    width: 100%;
    transition: background 0.3s ease;
}
.row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.container {
    position: relative;
    width: 380px;
    height: 500px;
    background: #fff;
}

.image {
    display: block;
    width: 100%;
    height: auto;
    transition: 0.5s;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -ms-transition: 0.5s;
    -o-transition: 0.5s;
}

.container:hover .image {
    transform: translateY(-140px);
    -webkit-transform: translateY(-140px);
    -moz-transform: translateY(-140px);
    -ms-transform: translateY(-140px);
    -o-transform: translateY(-140px);
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    overflow: hidden;
    width: 100%;
    height: 0;
    box-shadow: -1px -1px 6px rgba(0, 0, 0, 0.1);
    transition: 0.5s ease;
    -webkit-transition: 0.5s ease;
    -moz-transition: 0.5s ease;
    -ms-transition: 0.5s ease;
    -o-transition: 0.5s ease;
}

.container:hover .overlay{
    height: 50%
}

.text{
    color: #000;
    font-size: 20px;
    padding: 20px;
}

.text .title{
    font-size: 20px;
    color: #353131;
    margin: 5px 0;
}

.text .price{
    font-size: 20px;
    color: #456abd;
    margin: 5px 0;
}

.text .desc{
    font-size: 16px;
    color: #000;
    margin: 0 0 5px 0;
}

.text .color,
.text .size{
    font-size: 15px;
    color: #0a0909;
    margin: 5px 0;
}

.text .data{
    font-size: 20px;
    color: #0a0909;
    margin: 5px 0;
}

.text .size_data{
    display: inline-block;
    height: 28px;
    width: 28px;
    text-align: center;
    line-height: 28px;
    border-radius: 50%;
    margin: 0 3px;
    font-size: 14px;
    margin-top:-2px;
    font-weight: 500;
    cursor: pointer;
    color: #456abd;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}

.text .active{
    background: #456abd;
    color: #fff;
    border: 2px solid #aca7a7;
}

.text .color_data{
    display: inline-block;
    height: 28px;
    width: 28px;
    text-align: center;
    line-height: 28px;
    border-radius: 50%;
    margin: 0 3px;
    cursor: pointer;
    background: #456abd;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}

.text .color_data:nth-child(1){
    background: #ff4;
}

.text .color_data:nth-child(2){
    background: #000;
}

.text .color_data:nth-child(3){
    background: #cccccc;
}

button{
    height: 40px;
    width: 100%;
    margin: 4px 10px;
    border: 2px solid #456abd;
    background: #456abd;
    outline: none;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
}

Image Download Here: https://ibb.co/qYf5VX4

Don’t Forget to Follow me on all Social Network,

YouTube: https://www.youtube.com/channel/UCw9etYfx-25oKB_qt1fFNWw

Facebook Page: Coding BD – https://www.facebook.com/codingbd2021

LinkedIn: https://www.linkedin.com/in/sajjat-hossain-0617961b1/

GitHub: https://github.com/cgsaleh8383

#codingbd #ecommerce #htmlcss

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *