Product Card Design using HTML & CSS

                                                                                











































Hello Developers, we are excited to introduce a sleek and versatile profile card snippet, meticulously designed with HTML and CSS. This profile card is perfect for showcasing individual profiles, whether for team members, clients, or personal use. Each card includes a photo, name, title, a brief bio, and contact information, providing a comprehensive snapshot of the individual. The profile card snippet is fully responsive, ensuring it looks stunning on any device, from desktops to smartphones. The layout is clean and modern, with well-organized sections that effectively highlight the profile details. Interactive elements, such as hover effects, enhance user engagement, making the cards more dynamic and captivating. Additionally, social media icons and links to professional profiles like GitHub and LinkedIn can be included, allowing users to connect with the individual across various platforms. Incorporating this HTML and CSS profile card snippet into your website not only enhances its visual appeal but also adds a professional touch. This snippet showcases your attention to detail and commitment to providing a rich user experience. Whether you are displaying your own profile, highlighting team members, or presenting clients, this stylish and functional card design will help you present individuals in an engaging and professional manner.

How to make Product Card Design using HTML and CSS.[Source Code]

To make this website, you would like to make two files: an HTML file, a CSS file. First, create an HTML file with the name of index.html and remember, you have to create a file with a .html extension.

<!DOCTYPE html> <html lang="en"> <head> <title>Responsive Product card Using HTML & CSS</title> <meta name="description" content="Responsive Product card Using HTML & CSSt. Made by learningrobo.com"> <meta name="author" content="learningrobo.com"> <meta name="keywords" content="product card,responsive,learningrobo.com,html & css projects,project,product card"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="icon" type=image/x-icon href="#"> <meta charset="UTF-8"> <link rel="stylesheet" href="style.css"> <script src="https://kit.fontawesome.com/5d72166fb5.js" crossorigin="anonymous"></script> </head> <body> <!--Hello Future Developer Thanks for Using learningrobo.com, Share & Support us--> <div class="mp"> <div class="p1"> <div class="p1c1"> <img class="img1" src="https://cdn.pixabay.com/photo/2013/04/01/10/57/shoe-98743_1280.png" alt="image"> </div> <div class="p1c2"> <div class="p1c2c1"> <h2 class="t1">Lorem Ipsum</h2> <h6 class="t2">Lorem ipsum, dolor sit amet consectetur adipisicing elit. Quae deleniti qui asperiores dicta accusantium</h6> <span class="dot1"></span> <span class="dot2"></span> <span class="dot3"></span> </div> <div class="p1c2c2"> <h2>$45.00</h2> <button class="b">ADD TO CART</button> </div> </div> </div> <div class="p2"> <div class="p2c1"> <img class="img2"src="https://cdn.pixabay.com/photo/2016/08/04/01/14/wrist-watch-1568182_960_720.png" alt="image"> </div> <div class="p2c2"> <div class="p2c2c1"> <h2 class="t1">Lorem Ipsum</h2> <h6 class="t2">Lorem ipsum, dolor sit amet consectetur adipisicing elit. Quae deleniti qui asperiores dicta accusantium</h6> <span class="dot1"></span> <span class="dot2"></span> <span class="dot3"></span> </div> <div class="p2c2c2"> <h2>$75.00</h2> <button class="b">ADD TO CART</button> </div> </div> </div> </div> <div class="credit">Made with <span> ❤ </span>by<a href="https://www.learningrobo.com/"> learningrobo</a></div> <!--Check our website Regularly For New Snippets Post--> </body> </html>
CSS provides style to an HTML page. To make the page attractive create a CSS file with the name style.css and remember that you have to make a file with a .css extension.


/** 
Hello Future Developer Thanks for Using learningrobo.com, 
Check our website Regularly For New Snippets Post.

Share & Support us
**/
*{
    box-sizing: border-box;
}
body{
    margin:0px;
}
.mp{
    display: flex;
    height: 100vh;
    width: calc(100vw-40px);
    background-color: orange;
    align-items: center;
    justify-content: center;
    gap:40px;
}
.p1,.p2{
    display: flex;
    flex-wrap: wrap;
    height: 447px;
    width: 270px;
    background-color: white;
    box-shadow: 2px 2px 10px black;
}
.p1c1,.p2c1{
    height: 50%;
    width: 100%;
    background-color: papayawhip;
}
.img2{
    padding: 20px;
    height:100%;
    width:100%;
}
.img1{
    height:100%;
    width:100%;
}
.p1c2c1,.p2c2c1{
    display: flex;
    flex-wrap: wrap;
    height: 60%;
    width: 100%;
    font-family: Calibri;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-left: 40px;
    padding-right: 40px;
    gap:10px;
}
.t1,.t2{
    margin: 0px;
    color: brown;
}
.dot1{
    height: 15px;
    width: 15px;
    border-radius: 50%;
    background-color: red;
    display: inline-block;
}
.dot2{
    height: 15px;
    width: 15px;
    border-radius: 50%;
    background-color: blue;
    display: inline-block;
}
.dot3{
    height: 15px;
    width: 15px;
    border-radius: 50%;
    background-color: orange;
    display: inline-block;
}
.p1c2c2, .p2c2c2{
    display: flex;
    height: 40%;
    width: 100%;
    font-family: Calibri;
    color: brown;
    align-items: center;
    justify-content: center;
    gap:30px;
}
.b:hover{
    background-color: lemonchiffon;
}
.b{
    padding: 5px 15px;
    text-align: center;
    color: brown;
    font-family: Calibri;
    background-color: white;
    border: 2px solid brown;
    border-radius: 5px;
    padding: 8px 32px;
    font-size: 10px;
    cursor: pointer;
}
@media screen and (max-width:630px) {
    .mp{
        flex-direction: column;
        height:fit-content;
        padding-top: 50px;
        padding-bottom: 50px;
    }
}
.credit a {
    text-decoration: none;
    color: #121212;
    font-weight: 800;
}
  
.credit {
    color: #121212;
    text-align: center;
    margin-top: 10px;
    font-family: Verdana,Geneva,Tahoma,sans-serif;
}
.credit span{
    color:#000;
    font-size:20px;
}     
We hope you would like this Product Card Design using HTML and CSS.

Thank you for reading our blog. If you face any problem in Creating a Product Card Design using HTML and CSS., then contact us or comment to us. We’ll try to provide a solution to your problem as soon as possible.

Press The Key ' p ' and say ' read article ' our voice assistant read our article.
In Our older post it doesnot work we working on that.












Thank you
Learning robo team

Post a Comment

Thank you
Learning robo team

Post a Comment (0)

Previous Post Next Post
Learning Robo says...
code copied
Welcome